Don't duplicate a packet, just to throw it away when we discover the

duplicat hook is not connected.
This commit is contained in:
Julian Elischer 2004-03-24 08:53:45 +00:00
parent 839274c75b
commit ba9c6c61b2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127364

View File

@ -329,7 +329,7 @@ ngt_rcvdata(hook_p hook, item_p item)
}
/* Duplicate packet and meta info if requried */
if (dup != NULL) {
if (dup && dup->hook) {
struct mbuf *m2;
meta_p meta2;