netsniff-ng: check if linux-headers are v3.0 or higher
authorJoris Lijssens <joris.lijssens@gmail.com>
Fri, 15 Jan 2016 15:03:40 +0000 (16:03 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 16 Jan 2016 12:53:29 +0000 (13:53 +0100)
commit17f70899e13530035afac62c757f90b6d7eaea34
tree012ec2688af0362b93a63c669ff7cb34336c4ca8
parentb7f6ad9f5baae8da6d5d13b9490da2a688e3eec2
netsniff-ng: check if linux-headers are v3.0 or higher

netsniff-ng uses the TP_STATUS_VLAN_VALID define, provided by the
kernel headers. This definition has been added in the kernel by commit
a3bcc23e890a6d49d6763d9eb073d711de2e0469 ("af-packet: Add flag to
distinguish VID 0 from no-vlan"), which was merged in v3.0.

Fixes:
http://autobuild.buildroot.net/results/c87/c87a440e29ae387f600cb6ecce3caaa08557f4f0/

Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/netsniff-ng/Config.in