aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdmatch
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2000-07-14 17:15:34 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2000-07-14 17:15:34 +0000
commitb208ff84c19755dc340ca684184834efbad33508 (patch)
treedf36899018df2ec0fe1d342bd82d0fc0418e1a06 /usr.sbin/tcpdmatch
parent3e6902efc802ab57fc4e9bf798f2d271b152e7f9 (diff)
downloadsrc-b208ff84c19755dc340ca684184834efbad33508.tar.gz
src-b208ff84c19755dc340ca684184834efbad33508.zip
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
Notes
Notes: svn path=/head/; revision=63158
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 c29eb91375df..e69c050f6964 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