aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-01-12 20:16:36 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-01-12 20:16:36 +0000
commitc3c00c4286b21f4d10496821d85d4b331dd78a97 (patch)
tree1b797c8bb17d36ddca6fedfb0695fab7feca9c9b /include
parent98cb5c3a555a3410100ba79121c492a74f244390 (diff)
downloadupstream-c3c00c4286b21f4d10496821d85d4b331dd78a97.tar.gz
upstream-c3c00c4286b21f4d10496821d85d4b331dd78a97.tar.bz2
upstream-c3c00c4286b21f4d10496821d85d4b331dd78a97.zip
netfilter: handle nft_masq and nft_masq_ipv4
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43950
Diffstat (limited to 'include')
-rw-r--r--include/netfilter.mk2
1 files changed, 2 insertions, 0 deletions
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)