summaryrefslogtreecommitdiff
path: root/netsniff-ng.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 /netsniff-ng.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 'netsniff-ng.c')
-rw-r--r--netsniff-ng.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index 8252d42..644a351 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -6,8 +6,6 @@
*/
#define _GNU_SOURCE
-#define NEED_TCPDUMP_LIKE_FILTER
-
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>