diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-09-29 05:24:32 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-09-29 05:24:32 +0000 |
commit | a294c670e55cf749c76ad7eb65b941a45aa331d8 (patch) | |
tree | dfdf45c4a7768b7ffc483a8dd6baffc975beb1b0 /include | |
parent | 175aad61d4f823e11734c51c4b8ea6b26330110d (diff) | |
download | upstream-a294c670e55cf749c76ad7eb65b941a45aa331d8.tar.gz upstream-a294c670e55cf749c76ad7eb65b941a45aa331d8.tar.bz2 upstream-a294c670e55cf749c76ad7eb65b941a45aa331d8.zip |
netfilter: unbreak kmod-ipt-nat for <3.7
SVN-Revision: 42696
Diffstat (limited to 'include')
-rw-r--r-- | include/netfilter.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netfilter.mk b/include/netfilter.mk index 927e8a8e49..fd119c5f85 100644 --- a/include/netfilter.mk +++ b/include/netfilter.mk @@ -164,6 +164,7 @@ $(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_RT, $(P_V6)ip6t_rt)) # nat # kernel only +$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT, $(P_V4)nf_nat, lt 3.7.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT, $(P_XT)nf_nat, ge 3.7.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_IPV4, $(P_V4)nf_nat_ipv4, ge 3.7.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT6,CONFIG_NF_NAT_IPV6, $(P_V6)nf_nat_ipv6, ge 3.7.0),)) |