diff options
author | Paolo Abeni <pabeni@redhat.com> | 2016-07-21 16:42:22 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-07-21 17:08:16 +0200 |
commit | 4434db4bed874548cc5f3a28578d7b4758502d68 (patch) | |
tree | 326c09a4cb0046603e3e741162cb8e8e9d59e1da /ioexact.h | |
parent | e864a07a07f3aeea2444b00ffc343523fecbab31 (diff) |
netsniff-ng: Increment pkts_seen after packet type check
Currently in receive_to_xmit() pkts_seen is incremented before the
packet type check, but failing the latter will cause the packet to be
ignored, pretty much as if it failed to pass the filter.
This change moves the accunting after the check, as is currently
done in both walk_t3_block() and recv_only_or_dump().
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ioexact.h')
0 files changed, 0 insertions, 0 deletions