]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: NFT_CHAIN_NAT_IPV* is independent of NFT_NAT
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 11 Sep 2014 15:42:00 +0000 (17:42 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 12 Sep 2014 07:40:17 +0000 (09:40 +0200)
commit3e8dc212a0e68a9a90c97f34a92c4cdd97d19dd3
tree5002fc3d2ad49d2438b681a51205d1b4af209739
parent39e393bb4f653d38aea40190e1aa9a49062eed4d
netfilter: NFT_CHAIN_NAT_IPV* is independent of NFT_NAT

Now that we have masquerading support in nf_tables, the NAT chain can
be use with it, not only for SNAT/DNAT. So make this chain type
independent of it.

While at it, move it inside the scope of 'if NF_NAT_IPV*' to simplify
dependencies.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/Kconfig
net/ipv6/netfilter/Kconfig