From: Imre Kaloz Date: Mon, 12 Jan 2015 20:16:36 +0000 (+0000) Subject: netfilter: handle nft_masq and nft_masq_ipv4 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c3c00c4286b21f4d10496821d85d4b331dd78a97;p=openwrt%2Fsvn-archive%2Fopenwrt.git netfilter: handle nft_masq and nft_masq_ipv4 Signed-off-by: Imre Kaloz SVN-Revision: 43950 --- diff --git a/include/netfilter.mk b/include/netfilter.mk index 660bcc3d5d..b41c6de8d1 100644 --- a/include/netfilter.mk +++ b/include/netfilter.mk @@ -345,6 +345,8 @@ $(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_CHAIN_ROUTE_IPV6, $(P_V $(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_NAT, $(P_XT)nft_nat, ge 3.14.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_CHAIN_NAT_IPV4, $(P_V4)nft_chain_nat_ipv4, ge 3.14.0),)) $(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT6,CONFIG_NFT_CHAIN_NAT_IPV6, $(P_V6)nft_chain_nat_ipv6, ge 3.14.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_MASQ, $(P_XT)nft_masq, ge 3.18.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_MASQ_IPV4, $(P_V4)nft_masq_ipv4, ge 3.18.0),)) # userland only IPT_BUILTIN += $(NF_IPT-y) $(NF_IPT-m)