]> git.ipfire.org Git - thirdparty/suricata.git/commit
af-packet: Always fill in vlan_id 4016/head
authorMax Fillinger <maximilian.fillinger@fox-it.com>
Mon, 8 Jul 2019 16:21:42 +0000 (18:21 +0200)
committerMax Fillinger <maximilian.fillinger@fox-it.com>
Wed, 10 Jul 2019 10:10:22 +0000 (12:10 +0200)
commitbcc03f172a05b4c455131315011f4a09a121a198
tree776f5430b2399e094669c8930453eff6918c1a95
parent09c54471e579956ea1365ba131f1a2468d25b929
af-packet: Always fill in vlan_id

The vlan tag will be filled in either from the extended header (for
kernel version >= 3.0) or from the packet itself.

Related to https://redmine.openinfosecfoundation.org/issues/3076
src/source-af-packet.c
src/source-af-packet.h