netfilter.mk: remove now obsolete kmod nf_nat_redirect
authorYousong Zhou <yszhou4tech@gmail.com>
Tue, 20 Oct 2020 01:41:07 +0000 (09:41 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Sat, 24 Oct 2020 14:28:38 +0000 (22:28 +0800)
Now that the minimal kernel version maintained here is 4.19

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
include/netfilter.mk

index 0c29c0bd044d05bff0aa43bd5562db71893bec08..2c71c070565b7b62c42fb2d199bde47c39086de0 100644 (file)
@@ -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)))