]> git.ipfire.org Git - people/ms/suricata.git/commit - src/source-af-packet.c
af-packet: no VLAN id from msg header for old kernel
authorEric Leblond <eric@regit.org>
Fri, 7 Feb 2014 10:13:38 +0000 (11:13 +0100)
committerEric Leblond <eric@regit.org>
Fri, 7 Feb 2014 13:56:30 +0000 (14:56 +0100)
commit2cd6e1287f49cd1c142de799dcd1c07d28b3084c
treed1d934d3f373f31469c58ebb0798aaf77da7e268
parent1ccb93ab50f890e077d4ea894f9c9a75c67a7092
af-packet: no VLAN id from msg header for old kernel

This patch uses the new function SCKernelVersionIsAtLeast to know
that we've got a old kernel that do not strip the VLAN header from
the message before sending it to userspace.
src/source-af-packet.c