mirror of https://github.com/OISF/suricata
af-packet: dump counters when timeout occurs
When traffic is becoming null (mainly seen in tests) we reach the situation where there is timeouts in the poll on the socket and only that. Existing code is then just looping on the poll and the result is that the packet iface counters are not updated. This patch calls the dump counter function to be sure to get the counter right faster (and not only right at exit).pull/3368/head
parent
e048a74ecd
commit
f53e687bb8
Loading…
Reference in New Issue