summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2001-07-30 14:48:14 +0000
committerHarald Welte <laforge@gnumonks.org>2001-07-30 14:48:14 +0000
commitc2dadf028088e2ce26ed60282ef5b1694d091532 (patch)
tree1db1b8c779c02a1728fd2769acee96e865e78ee0
parentd6aa9666bebfe9fa1d87ce8d77c40704cd6a6199 (diff)
Fixed REJECTv6 compile errors.
-rwxr-xr-xextensions/.REJECT-test64
-rw-r--r--extensions/Makefile2
2 files changed, 5 insertions, 1 deletions
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