Disable TPACKET_V3 in included libpcap. Still broken, see #34

This commit is contained in:
dmiller 2015-09-15 13:31:21 +00:00
parent dd4b840be0
commit 83b9c4c939

View file

@ -188,6 +188,10 @@
# endif /* PACKET_HOST */
/* TPACKET_V3 is broken. Temporarily disabling support here until upstream
* libpcap addresses the issue. */
#undef TPACKET3_HDRLEN
/* check for memory mapped access avaibility. We assume every needed
* struct is defined if the macro TPACKET_HDRLEN is defined, because it
* uses many ring related structs and macros */