netfilter: ip6tables: add MASQUERADE target

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy
2012-08-26 19:14:14 +02:00
committed by Pablo Neira Ayuso
parent 58a317f106
commit b3f644fc82
7 changed files with 155 additions and 4 deletions

View File

@@ -1093,7 +1093,7 @@ out:
return ret;
}
int ipv6_dev_get_saddr(struct net *net, struct net_device *dst_dev,
int ipv6_dev_get_saddr(struct net *net, const struct net_device *dst_dev,
const struct in6_addr *daddr, unsigned int prefs,
struct in6_addr *saddr)
{