From 38112cef1ef6c22c0ad798fe18d5003e70313662 Mon Sep 17 00:00:00 2001 From: Fedor Date: Mon, 20 Sep 2010 01:30:29 -0400 Subject: [PATCH] ipv6 support: include hl match and HL target modules --- release/src/Makefile | 4 ++++ release/src/router/iptables/extensions/Makefile | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/release/src/Makefile b/release/src/Makefile index f134bf852c..83ad18aec1 100644 --- a/release/src/Makefile +++ b/release/src/Makefile @@ -413,6 +413,8 @@ define KernelConfig echo "CONFIG_IP6_NF_IPTABLES=y" >>$(1); \ sed -i "/CONFIG_IP6_NF_MATCH_RT/d" $(1); \ echo "CONFIG_IP6_NF_MATCH_RT=y" >>$(1); \ + sed -i "/CONFIG_IP6_NF_MATCH_HL/d" $(1); \ + echo "CONFIG_IP6_NF_MATCH_HL=y" >>$(1); \ sed -i "/CONFIG_IP6_NF_FILTER/d" $(1); \ echo "CONFIG_IP6_NF_FILTER=m" >>$(1); \ sed -i "/CONFIG_IP6_NF_TARGET_LOG/d" $(1); \ @@ -434,6 +436,8 @@ define KernelConfig echo "CONFIG_IPV6_MULTIPLE_TABLES=y" >>$(1); \ sed -i "/CONFIG_IP6_NF_TARGET_ROUTE/d" $(1); \ echo "CONFIG_IP6_NF_TARGET_ROUTE=m" >>$(1); \ + sed -i "/CONFIG_IP6_NF_TARGET_HL/d" $(1); \ + echo "CONFIG_IP6_NF_TARGET_HL=m" >>$(1); \ else \ sed -i "/CONFIG_IP6_NF_CONNTRACK/d" $(1); \ echo "CONFIG_IP6_NF_CONNTRACK=m" >>$(1); \ diff --git a/release/src/router/iptables/extensions/Makefile b/release/src/router/iptables/extensions/Makefile index a2337cb25c..eaf20ba336 100644 --- a/release/src/router/iptables/extensions/Makefile +++ b/release/src/router/iptables/extensions/Makefile @@ -20,10 +20,10 @@ PF_EXT_SLIB+=hashlimit NFQUEUE endif ifeq ($(DO_IPV6), 1) -PF6_EXT_SLIB:=connmark icmp6 length limit mac mark multiport standard state rt +PF6_EXT_SLIB:=connmark icmp6 length limit mac mark multiport standard state rt hl PF6_EXT_SLIB+=tcp udp CONNMARK LOG MARK IMQ TCPMSS ifeq ($(CONFIG_LINUX26),y) -PF6_EXT_SLIB+=connlimit hashlimit recent NFQUEUE ROUTE +PF6_EXT_SLIB+=connlimit hashlimit recent NFQUEUE ROUTE HL endif endif -- 2.11.4.GIT