summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdmatch
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2000-07-14 17:15:34 +0000
committerume <ume@FreeBSD.org>2000-07-14 17:15:34 +0000
commit70f27cd4dd7e1d1d852cba36b094d6dc066d927d (patch)
treef2ea77bde85e774d904c6d9e876c7f0783fca721 /usr.sbin/tcpdmatch
parent55485e0103d7b63665f16e41d400e306498c92a8 (diff)
downloadFreeBSD-src-70f27cd4dd7e1d1d852cba36b094d6dc066d927d.zip
FreeBSD-src-70f27cd4dd7e1d1d852cba36b094d6dc066d927d.tar.gz
Add IPv6 scoped address support.
It enables us to control link-local connections by interface like this: ALL : [fe80::%ed0]/10 : allow ALL : [fe80::]/10 : deny
Diffstat (limited to 'usr.sbin/tcpdmatch')
-rw-r--r--usr.sbin/tcpdmatch/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/tcpdmatch/Makefile b/usr.sbin/tcpdmatch/Makefile
index c29eb91..e69c050 100644
--- a/usr.sbin/tcpdmatch/Makefile
+++ b/usr.sbin/tcpdmatch/Makefile
@@ -10,6 +10,9 @@ SRCS= tcpdmatch.c fakelog.c inetcf.c scaffold.c
CFLAGS= -DREAL_DAEMON_DIR=\"/usr/libexec\" \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10
+.if !defined(NOINET6)
+CFLAGS+=-DINET6
+.endif
DPADD= ${LIBWRAP}
LDADD= -lwrap
OpenPOWER on IntegriCloud