Don't duplicate a packet, just to throw it away when we discover the
duplicat hook is not connected.
This commit is contained in:
parent
839274c75b
commit
ba9c6c61b2
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user