mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make this compile again in the standalone and the MODULES_WITH_WORLD
environments. Chances are good that this doesn't produce a good module, but I leave the proper defaults to the dummy opt_* files to the author.
This commit is contained in:
parent
c415679d71
commit
e412451de3
1 changed files with 5 additions and 1 deletions
|
|
@ -3,7 +3,9 @@
|
|||
.PATH: ${.CURDIR}/../../netinet
|
||||
|
||||
KMOD= ipfw
|
||||
SRCS= ip_fw2.c ip_fw_pfil.c
|
||||
SRCS= ip_fw2.c ip_fw_pfil.c \
|
||||
opt_inet.h opt_ipfw.h opt_ipdn.h opt_ipdivert.h opt_ipsec.h \
|
||||
opt_pfil_hooks.h
|
||||
|
||||
CFLAGS+= -DIPFIREWALL
|
||||
#
|
||||
|
|
@ -14,5 +16,7 @@ CFLAGS+= -DIPFIREWALL
|
|||
#If you want it to pass all packets by default
|
||||
#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
|
||||
#
|
||||
opt_inet.h:
|
||||
echo "#define INET 1" > opt_inet.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue