aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2020-10-20 09:41:07 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2020-10-24 22:28:38 +0800
commit472a06f7076f5dff5eacad4287792c6ed03ba1d8 (patch)
treeda469bfc477d0f715b2621ff915e5bec2e0f4cee
parentdd5b04bf986962d449d0c7943c712f50aa60bfcc (diff)
downloadupstream-472a06f7076f5dff5eacad4287792c6ed03ba1d8.tar.gz
upstream-472a06f7076f5dff5eacad4287792c6ed03ba1d8.tar.bz2
upstream-472a06f7076f5dff5eacad4287792c6ed03ba1d8.zip
netfilter.mk: remove now obsolete kmod nf_nat_redirect
Now that the minimal kernel version maintained here is 4.19 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r--include/netfilter.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/netfilter.mk b/include/netfilter.mk
index 0c29c0bd04..2c71c07056 100644
--- a/include/netfilter.mk
+++ b/include/netfilter.mk
@@ -184,7 +184,6 @@ $(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_RT, $(P_V6)ip6t_rt))
# kernel only
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT, $(P_XT)nf_nat),))
-$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_REDIRECT, $(P_XT)nf_nat_redirect, lt 4.18),))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_IPV4, $(P_V4)nf_nat_ipv4, lt 5.1)))
$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT6,CONFIG_NF_NAT_IPV6, $(P_V6)nf_nat_ipv6, lt 5.1)))