Skip to content

Commit

Permalink
Disable TPACKET_V3 in included libpcap. Still broken, see #34
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Sep 15, 2015
1 parent dd4b840 commit 83b9c4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libpcap/pcap-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 83b9c4c

Please sign in to comment.