]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Fixed REJECTv6 compile errors.
authorHarald Welte <laforge@gnumonks.org>
Mon, 30 Jul 2001 14:48:14 +0000 (14:48 +0000)
committerHarald Welte <laforge@gnumonks.org>
Mon, 30 Jul 2001 14:48:14 +0000 (14:48 +0000)
extensions/.REJECT-test6 [new file with mode: 0755]
extensions/Makefile

diff --git a/extensions/.REJECT-test6 b/extensions/.REJECT-test6
new file mode 100755 (executable)
index 0000000..1f09694
--- /dev/null
@@ -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
index 012133634a3d1fb79d7c4a41095cbc7edf21dc9d..d7b617332590e5a81a8b87d42a4bb2e9dd067aa1 100644 (file)
@@ -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