diff options
author | John Crispin <john@openwrt.org> | 2015-03-05 20:24:22 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-03-05 20:24:22 +0000 |
commit | f26a59aa1394c09af77a52d2ee0ee252b9488a74 (patch) | |
tree | 9851991ee0052011794d7b5b8836ef267e31cdfb /include | |
parent | 8be054faf4340a17b407a6484b0e7f255d1d4614 (diff) | |
download | mtk-20170518-f26a59aa1394c09af77a52d2ee0ee252b9488a74.zip mtk-20170518-f26a59aa1394c09af77a52d2ee0ee252b9488a74.tar.gz mtk-20170518-f26a59aa1394c09af77a52d2ee0ee252b9488a74.tar.bz2 |
netfilter: fix nf_nat_redirect dependencies for 3.19 and 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44598
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 ed63b0b..e663ea5 100644 --- a/include/netfilter.mk +++ b/include/netfilter.mk @@ -183,6 +183,7 @@ $(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT6,CONFIG_NF_NAT_IPV6, $(P_V6)nf_nat_i $(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_NF_NAT, $(P_XT)xt_nat, ge 3.7.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_NETFILTER_XT_NAT, $(P_XT)xt_nat, ge 3.18.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_NF_NAT, $(P_V4)iptable_nat, lt 3.7.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_NF_NAT, $(P_XT)nf_nat_redirect, ge 3.19.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_NF_NAT_IPV4, $(P_V4)iptable_nat, ge 3.7.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_IP_NF_NAT, $(P_V4)iptable_nat, ge 3.16.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT6,CONFIG_NF_NAT_IPV6, $(P_V6)ip6table_nat, ge 3.7.0),)) |