diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-09-04 03:47:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-05 20:23:31 -0400 |
commit | 84a59ca55f699d1d1fbfffd75445bcfe0c3daf06 (patch) | |
tree | fc37e5a81db07b9f7693f295ccca84fce6d364b4 | |
parent | e7478dfc4656f4a739ed1b07cfd59c12f8eb112e (diff) |
netfilter: add explicit Kconfig for NETFILTER_XT_NAT
Paul Bolle reports that 'select NETFILTER_XT_NAT' from the IPV4 and IPV6
NAT tables becomes noop since there is no Kconfig switch for it. Add the
Kconfig switch to resolve this problem.
Fixes: 8993cf8 netfilter: move NAT Kconfig switches out of the iptables scope
Reported-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/netfilter/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index 4bef6eb7c40d..b5c1d3aadb41 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig | |||
@@ -766,6 +766,14 @@ config NETFILTER_XT_TARGET_MARK | |||
766 | (e.g. when running oldconfig). It selects | 766 | (e.g. when running oldconfig). It selects |
767 | CONFIG_NETFILTER_XT_MARK (combined mark/MARK module). | 767 | CONFIG_NETFILTER_XT_MARK (combined mark/MARK module). |
768 | 768 | ||
769 | config NETFILTER_XT_NAT | ||
770 | tristate '"SNAT and DNAT" targets support' | ||
771 | depends on NF_NAT | ||
772 | ---help--- | ||
773 | This option enables the SNAT and DNAT targets. | ||
774 | |||
775 | To compile it as a module, choose M here. If unsure, say N. | ||
776 | |||
769 | config NETFILTER_XT_TARGET_NETMAP | 777 | config NETFILTER_XT_TARGET_NETMAP |
770 | tristate '"NETMAP" target support' | 778 | tristate '"NETMAP" target support' |
771 | depends on NF_NAT | 779 | depends on NF_NAT |