summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdchk
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/tcpdchk
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/tcpdchk')
-rw-r--r--usr.sbin/tcpdchk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/tcpdchk/Makefile b/usr.sbin/tcpdchk/Makefile
index 86639f7..3393011 100644
--- a/usr.sbin/tcpdchk/Makefile
+++ b/usr.sbin/tcpdchk/Makefile
@@ -11,7 +11,9 @@ SRCS= tcpdchk.c fakelog.c inetcf.c scaffold.c
CFLAGS= -DREAL_DAEMON_DIR=\"/usr/libexec\" \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
-CFLAGS+=-DINET6 -DUSE_GETIPNODEBY
+.if !defined(NOINET6)
+CFLAGS+=-DINET6
+.endif
DPADD= ${LIBWRAP}
LDADD= -lwrap
OpenPOWER on IntegriCloud