summaryrefslogtreecommitdiff
path: root/bpf_comp.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-12 11:28:25 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-12 11:28:25 +0200
commit863800b1019cc92d6c20de4a9d5cd02682ad9177 (patch)
tree87fda1a33072cd5299382870cb751662ba23f307 /bpf_comp.c
parentd026932f69d66778f518196c79886fecafc95621 (diff)
bpf_comp: pass NEED_TCPDUMP_LIKE_FILTER through gcc
We have to pass NEED_TCPDUMP_LIKE_FILTER define through gcc as it otherwise is not possible to let the pcap compiler invoke through netsniff-ng, but not through astraceroute. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'bpf_comp.c')
-rw-r--r--bpf_comp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bpf_comp.c b/bpf_comp.c
index 8946621..8298289 100644
--- a/bpf_comp.c
+++ b/bpf_comp.c
@@ -4,8 +4,6 @@
* Subject to the GPL, version 2.
*/
-#define NEED_TCPDUMP_LIKE_FILTER
-
#include <pcap.h>
#include <linux/filter.h>