mirror of https://github.com/OISF/suricata
af-packet: declare TP_STATUS_VLAN_VALID if needed
Some old distribution don't ship recent enough linux header. This result in TP_STATUS_VLAN_VALID being undefined. This patch defines the constant and use it as it is used in backward compatible method in the code: the flag is not set by kernel and a test on vci value will be made. This should fix https://redmine.openinfosecfoundation.org/issues/1106pull/836/merge
parent
f7b1aefaf4
commit
b603ad62e5
Loading…
Reference in New Issue