From: John Crispin Date: Sat, 22 Dec 2012 10:17:29 +0000 (+0000) Subject: fix ipv4 nat on 3.7 by adding missing iptables modules X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b21458709a78eccd8c072a9af5d6f37e23a5eab2;p=openwrt%2Fstaging%2Fblocktrron.git fix ipv4 nat on 3.7 by adding missing iptables modules SVN-Revision: 34841 --- diff --git a/include/netfilter.mk b/include/netfilter.mk index 20bfffece0..12c5f9fff1 100644 --- a/include/netfilter.mk +++ b/include/netfilter.mk @@ -159,7 +159,7 @@ $(eval $(call nf_add,IPT_IPV6,CONFIG_IP6_NF_TARGET_REJECT, $(P_V6)ip6t_REJECT)) # nat # kernel only -$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_NF_NAT, $(P_XT)nf_nat $(P_V4)iptable_nat, ge 3.7.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_NF_NAT, $(P_XT)nf_nat $(P_V4)nf_nat_ipv4 $(P_XT)xt_nat $(P_V4)iptable_nat, ge 3.7.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_NF_NAT, $(P_V4)nf_nat $(P_V4)iptable_nat, lt 3.7.0),)) # userland only