projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee5434
)
[netfilter] fix ipv4 nat on 3.7 by adding missing iptables modules
author
John Crispin
<blogic@openwrt.org>
Sat, 22 Dec 2012 10:17:29 +0000
(10:17 +0000)
committer
John Crispin
<blogic@openwrt.org>
Sat, 22 Dec 2012 10:17:29 +0000
(10:17 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34841
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
include/netfilter.mk
patch
|
blob
|
history
diff --git
a/include/netfilter.mk
b/include/netfilter.mk
index
20bfffe
..
12c5f9f
100644
(file)
--- 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