summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-03-07 08:48:41 +0000
committerSteven Barth <cyrus@openwrt.org>2013-03-07 08:48:41 +0000
commit62ea398cd8120a0580660fcb6a980dce2bca86f0 (patch)
tree013873e933def12f55eba4de39654fa67e0b1fe2 /include
parent9779b0b88c0efefa7fffb5fa86c708349c883c8d (diff)
downloadmtk-20170518-62ea398cd8120a0580660fcb6a980dce2bca86f0.zip
mtk-20170518-62ea398cd8120a0580660fcb6a980dce2bca86f0.tar.gz
mtk-20170518-62ea398cd8120a0580660fcb6a980dce2bca86f0.tar.bz2
iptables: Add missing IPv6 builtin modules
SVN-Revision: 35898
Diffstat (limited to 'include')
-rw-r--r--include/netfilter.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/netfilter.mk b/include/netfilter.mk
index d2b8a5f..b754924 100644
--- a/include/netfilter.mk
+++ b/include/netfilter.mk
@@ -144,6 +144,8 @@ $(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_MANGLE, $(P_V6)ip6ta
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_QUEUE, $(P_V6)ip6_queue),))
$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_RAW, $(P_V6)ip6table_raw),))
+$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_CORE,CONFIG_IP6_NF_IPTABLES, ip6t_icmp6)))
+
$(eval $(call nf_add,IPT_IPV6,CONFIG_IP6_NF_MATCH_AH, $(P_V6)ip6t_ah))
$(eval $(call nf_add,IPT_IPV6,CONFIG_IP6_NF_MATCH_EUI64, $(P_V6)ip6t_eui64))
$(eval $(call nf_add,IPT_IPV6,CONFIG_IP6_NF_MATCH_FRAG, $(P_V6)ip6t_frag))
@@ -283,7 +285,7 @@ IPT_BUILTIN += $(IPT_FILTER-y)
IPT_BUILTIN += $(IPT_IPOPT-y)
IPT_BUILTIN += $(IPT_IPRANGE-y)
IPT_BUILTIN += $(IPT_IPSEC-y)
-IPT_BUILTIN += $(IPT_IPV6-y)
+IPT_BUILTIN += $(IPT_IPV6-y) $(IPT_IPV6-m)
IPT_BUILTIN += $(IPT_NAT-y)
IPT_BUILTIN += $(IPT_NAT_EXTRA-y)
IPT_BUILTIN += $(IPT_NATHELPER-y)