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
commitcb36464b835a5763fbfdf4fc2c79222d9d967239 (patch)
tree442bb4fa67eea9c76b7ac48ff6fc4eb90dcd608a /include
parenta3fcc7b807e8c1719a45f5a4ff160ae0980f9a54 (diff)
downloadupstream-cb36464b835a5763fbfdf4fc2c79222d9d967239.tar.gz
upstream-cb36464b835a5763fbfdf4fc2c79222d9d967239.tar.bz2
upstream-cb36464b835a5763fbfdf4fc2c79222d9d967239.zip
netfilter: handle nft_masq and nft_masq_ipv4
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43950 3c298f89-4303-0410-b956-a3cf2f4a3e73
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)