summaryrefslogtreecommitdiff
path: root/lib/libpcap/Makefile
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>1999-07-02 10:05:22 +0000
committeritojun <itojun@NetBSD.org>1999-07-02 10:05:22 +0000
commitc6f88a42f468b45ffa052d50fe70acc86b98a5c4 (patch)
treeb02c54482a4b6d0989d999d980eb279c963419a8 /lib/libpcap/Makefile
parent22b07aaafdf84686043596c4264b6d011a67b19d (diff)
support IPv6 address and IPv6 protocols.
"tcp" will match both IPv4 TCP and IPv6 TCP. "ip6" will match IPv6. you can chase header chain by using "protochain" instead of "proto" (but bpf code is not optimizable in this case) commit to tcpdump will follow. I've sent this fix to LBL guys to get no response. I wonder why it was.
Diffstat (limited to 'lib/libpcap/Makefile')
-rw-r--r--lib/libpcap/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index 322165f3fd8..f0712695c92 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 1998/11/01 03:48:35 lukem Exp $
+# $NetBSD: Makefile,v 1.18 1999/07/02 10:05:22 itojun Exp $
LIB= pcap
MAN= pcap.3
@@ -6,6 +6,7 @@ MAN= pcap.3
LEX= flex
CPPFLAGS+=-I. -I${.CURDIR} -DYYBISON
+CPPFLAGS+=-DINET6
CPPFLAGS+=-DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1
CPPFLAGS+=-DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1
CFPPLAGS+=-DLBL_ALIGN=1