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
This commit is contained in:
Julian Elischer 2001-07-14 05:51:33 +00:00
parent e8cc4c7407
commit 8b68f82f72

View File

@ -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);
}