diff options
author | julian <julian@FreeBSD.org> | 2001-07-14 05:51:33 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-07-14 05:51:33 +0000 |
commit | 02ddaa1a302611b27ae365311759bf88ed3bb723 (patch) | |
tree | dbbd0bc8fdfcc00deb05b7484fe8e0a22a1239f7 | |
parent | e6b1f6d7a4b70793ec39e42ff13265b409f670f2 (diff) | |
download | FreeBSD-src-02ddaa1a302611b27ae365311759bf88ed3bb723.zip FreeBSD-src-02ddaa1a302611b27ae365311759bf88ed3bb723.tar.gz |
remember to set the return address in a message when
sending it along a hook.
PR: 27906
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
no MFC as code is different in 4.x
-rw-r--r-- | sys/netgraph/ng_base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index a115df4..6cba23b 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -3488,6 +3488,7 @@ ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr) peernode = NG_PEER_NODE(hook); NG_NODE_REF(peernode); NGI_SET_NODE(item, peernode); + SET_RETADDR(item, here, retaddr); return (0); } |