mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
Unbreak ip_mroute_mod
This commit is contained in:
parent
1a8b27c035
commit
fffcbbcd94
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80352
@ -1,7 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# XXX present but broken: ip_mroute_mod
|
||||
|
||||
.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT)
|
||||
_random= random
|
||||
.endif
|
||||
@ -36,6 +34,7 @@ SUBDIR= 3dfx \
|
||||
if_tap \
|
||||
if_tun \
|
||||
ip6fw \
|
||||
ip_mroute_mod \
|
||||
ipfilter \
|
||||
ipfw \
|
||||
ispfw \
|
||||
|
@ -3,9 +3,20 @@
|
||||
.PATH: ${.CURDIR}/../../netinet
|
||||
|
||||
KMOD= ip_mroute
|
||||
SRCS= ip_mroute.c
|
||||
SRCS= ip_mroute.c opt_mrouting.h opt_random_ip_id.h
|
||||
NOMAN=
|
||||
|
||||
CFLAGS+= -DMROUTE_LKM -DMROUTING
|
||||
CFLAGS+= -DMROUTE_KLD
|
||||
|
||||
RANDOM_IP_ID?= 0 # 0/1 - should jibe with kernel configuration
|
||||
|
||||
opt_mrouting.h:
|
||||
echo "#define MROUTING 1" > ${.TARGET}
|
||||
|
||||
opt_random_ip_id.h:
|
||||
touch ${.TARGET}
|
||||
.if ${RANDOM_IP_ID} > 0
|
||||
echo "#define RANDOM_IP_ID 1" > ${.TARGET}
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user