mirror of https://github.com/OISF/suricata
af-packet: fix problem introduced in recent commit
Logic of patch 98e4a14f6d
was correct
but implementation is wrong because TP_STATUS_KERNEL is equal to
zero and thus can not be evaluated in a binary operation. This patch
updates the logic by doing two tests.
Reported-by: Alessandro Guido
pull/780/head
parent
d06a193012
commit
82a2dd859b
Loading…
Reference in New Issue