From: Harald Welte Date: Mon, 30 Jul 2001 14:48:14 +0000 (+0000) Subject: Fixed REJECTv6 compile errors. X-Git-Tag: v1.2.3~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2dadf028088e2ce26ed60282ef5b1694d091532;p=thirdparty%2Fiptables.git Fixed REJECTv6 compile errors. --- diff --git a/extensions/.REJECT-test6 b/extensions/.REJECT-test6 new file mode 100755 index 00000000..1f096945 --- /dev/null +++ b/extensions/.REJECT-test6 @@ -0,0 +1,4 @@ +#!/bin/sh +FILE=$KERNEL_DIR/include/linux/netfilter_ipv6/ip6t_REJECT.h +# True if REJECT is applied. +[ -f $FILE ] && grep IP6T_ICMP6_NO_ROUTE 2>&1 >/dev/null $FILE && echo REJECT diff --git a/extensions/Makefile b/extensions/Makefile index 01213363..d7b61733 100644 --- a/extensions/Makefile +++ b/extensions/Makefile @@ -1,7 +1,7 @@ #! /usr/bin/make PF_EXT_SLIB:=tcp udp icmp mac limit standard REJECT LOG unclean state multiport tos TOS mark MARK owner SNAT DNAT MASQUERADE REDIRECT MIRROR SAME -PF6_EXT_SLIB:=tcp udp icmpv6 standard MARK mark REJECT +PF6_EXT_SLIB:=tcp udp icmpv6 standard MARK mark # The following may not be present, but compile them anyway. PF_EXT_SLIB+=FTOS TCPMSS TTL ULOG ah esp iplimit tcpmss ttl