netfilter: fix IPv6 NAT dependencies in Kconfig
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 18 Sep 2012 19:03:39 +0000 (21:03 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Sep 2012 09:33:19 +0000 (11:33 +0200)
commitb0041d1b8e73d419f4165c189af7c28aff3a02ec
tree5c43b52d0eda4772604772c0636552ad4994eb9b
parentb216a4d86fb599fa2808ea7456e15ca9b47bc756
netfilter: fix IPv6 NAT dependencies in Kconfig

* NF_NAT_IPV6 requires IP6_NF_IPTABLES

* IP6_NF_TARGET_MASQUERADE, IP6_NF_TARGET_NETMAP, IP6_NF_TARGET_REDIRECT
  and IP6_NF_TARGET_NPT require NF_NAT_IPV6.

This change just mirrors what IPv4 does in Kconfig, for consistency.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv6/netfilter/Kconfig