aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ipfw
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2011-11-04 16:24:19 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2011-11-04 16:24:19 +0000
commit8813217a6733813ba75c307c0c9d39ecbfcdd77f (patch)
tree0a69fdd69ee309b8093328fce009653caf904d36 /sys/modules/ipfw
parent01ed0bda442f32b2d5b5853fe54f36e5d3db9dc2 (diff)
downloadsrc-8813217a6733813ba75c307c0c9d39ecbfcdd77f.tar.gz
src-8813217a6733813ba75c307c0c9d39ecbfcdd77f.zip
Always use the opt_*.h options for ipfw.ko, not just when
compiled into the kernel. Do not try to build the module in case of no INET support but keep #error calls for now in case we would compile it into the kernel. This should fix an issue where the module would fail to enable IPv6 support from the rc framework, but also other INET and INET6 parts being silently compiled out without giving a warning in the module case. While here garbage collect unneeded opt_*.h includes. opt_ipdn.h is not used anywhere but we need to leave the DUMMYNET entry in options for conditional inclusion in kernel so keep the file with the same name. Reported by: pluknet Reviewed by: plunket, jhb MFC After: 3 days
Notes
Notes: svn path=/head/; revision=227085
Diffstat (limited to 'sys/modules/ipfw')
-rw-r--r--sys/modules/ipfw/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/ipfw/Makefile b/sys/modules/ipfw/Makefile
index 60ab84858c70..575a6ce4895b 100644
--- a/sys/modules/ipfw/Makefile
+++ b/sys/modules/ipfw/Makefile
@@ -8,7 +8,7 @@ KMOD= ipfw
SRCS= ip_fw2.c ip_fw_pfil.c
SRCS+= ip_fw_dynamic.c ip_fw_log.c
SRCS+= ip_fw_sockopt.c ip_fw_table.c
-SRCS+= opt_inet.h opt_inet6.h opt_ipfw.h opt_ipsec.h
+SRCS+= opt_inet.h opt_inet6.h opt_ipdivert.h opt_ipfw.h opt_ipsec.h
CFLAGS+= -DIPFIREWALL
CFLAGS+= -I${.CURDIR}/../../contrib/pf