diff options
author | darrenr <darrenr@FreeBSD.org> | 2004-06-08 23:52:22 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2004-06-08 23:52:22 +0000 |
commit | 10c0032386a6a1aef02048598a920c5ab2a27e0e (patch) | |
tree | c806bfeace868e00c717825ff00cb184be25450b /sys/modules/ipfilter | |
parent | aeea66884328b345024bd425cde4a80b02b7809c (diff) | |
download | FreeBSD-src-10c0032386a6a1aef02048598a920c5ab2a27e0e.zip FreeBSD-src-10c0032386a6a1aef02048598a920c5ab2a27e0e.tar.gz |
Recognise NOINET6 as an indication to not build IPv6 enabled source even
if FreeBSD header files, etc, support it.
Submitted by: Sergey Mokryshev <mokr@mokr.net>
Diffstat (limited to 'sys/modules/ipfilter')
-rw-r--r-- | sys/modules/ipfilter/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/modules/ipfilter/Makefile b/sys/modules/ipfilter/Makefile index a98d29c..7297cd2 100644 --- a/sys/modules/ipfilter/Makefile +++ b/sys/modules/ipfilter/Makefile @@ -6,11 +6,12 @@ KMOD= ipl SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \ ip_log.c ip_fil.c fil.c +.if !defined(NOINET6) CFLAGS+= -DUSE_INET6 +.endif CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DPFIL_HOOKS # -# If you don't want IPv6 functionality remove -DUSE_INET6 # If you don't want log functionality remove -DIPFILTER_LOG # |