mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
e7478dfc46
commit
84a59ca55f
1 changed files with 8 additions and 0 deletions
|
@ -766,6 +766,14 @@ config NETFILTER_XT_TARGET_MARK
|
||||||
(e.g. when running oldconfig). It selects
|
(e.g. when running oldconfig). It selects
|
||||||
CONFIG_NETFILTER_XT_MARK (combined mark/MARK module).
|
CONFIG_NETFILTER_XT_MARK (combined mark/MARK module).
|
||||||
|
|
||||||
|
config NETFILTER_XT_NAT
|
||||||
|
tristate '"SNAT and DNAT" targets support'
|
||||||
|
depends on NF_NAT
|
||||||
|
---help---
|
||||||
|
This option enables the SNAT and DNAT targets.
|
||||||
|
|
||||||
|
To compile it as a module, choose M here. If unsure, say N.
|
||||||
|
|
||||||
config NETFILTER_XT_TARGET_NETMAP
|
config NETFILTER_XT_TARGET_NETMAP
|
||||||
tristate '"NETMAP" target support'
|
tristate '"NETMAP" target support'
|
||||||
depends on NF_NAT
|
depends on NF_NAT
|
||||||
|
|
Loading…
Reference in a new issue