netfilter: nft_chain_nat_ipv6: use generic IPv6 NAT code from core
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Sep 2014 14:31:09 +0000 (16:31 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Sep 2014 14:31:09 +0000 (16:31 +0200)
commit876665eafc0e43523d0c57b5c937b59696fb4a8f
tree1c165e6a98b614c74ca6a1f673e199e0fec5f369
parent2a5538e9aa4929329813bee69922c9ae4990fcad
netfilter: nft_chain_nat_ipv6: use generic IPv6 NAT code from core

Use the exported IPv6 NAT functions that are provided by the core. This
removes duplicated code so iptables and nft use the same NAT codebase.

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