diff options
author | Paolo Abeni <pabeni@redhat.com> | 2016-07-21 15:25:27 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-07-21 15:39:05 +0200 |
commit | 81f8c546d90b7615e0e6a6777445b10b4263d598 (patch) | |
tree | 41b697375caac65a0312cb662bc6f147716d46c0 /pkt_buff.h | |
parent | 20f72d2b68969f75b0a116e49b133363d4b6fb9a (diff) |
netsniff-ng: Skip duplicated packets on loopback device
When sniffing on the loopback device, each packet will be seen
twice, once per direction. To avoid duplicates, explicitly
skip OUTGOING packets received from loopback, if no packet_type
filter is explicitly set.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'pkt_buff.h')
0 files changed, 0 insertions, 0 deletions