diff options
-rw-r--r-- | bpf_comp.c | 2 | ||||
-rw-r--r-- | netsniff-ng.c | 2 | ||||
-rw-r--r-- | netsniff-ng/Makefile | 2 |
3 files changed, 1 insertions, 5 deletions
@@ -4,8 +4,6 @@ * Subject to the GPL, version 2. */ -#define NEED_TCPDUMP_LIKE_FILTER - #include <pcap.h> #include <linux/filter.h> 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> diff --git a/netsniff-ng/Makefile b/netsniff-ng/Makefile index 683db4f..790c7c4 100644 --- a/netsniff-ng/Makefile +++ b/netsniff-ng/Makefile @@ -75,4 +75,4 @@ endif netsniff-ng-eflags = $(shell pkg-config --cflags libnl-3.0) \ $(shell pkg-config --cflags libnl-genl-3.0) \ - -DHAVE_DISSECTOR_PROTOS + -DHAVE_DISSECTOR_PROTOS -DNEED_TCPDUMP_LIKE_FILTER |