summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-08-11 18:21:50 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-08-19 21:42:45 +0200
commit1e8430f30b55a1f3f6925c9f37f8cc9afd141d2e (patch)
tree4ba4a25effa11289ca4185324e38f53ec16e017b /net
parentnetfilter: x_tables: allow to use default cgroup match (diff)
downloadlinux-1e8430f30b55a1f3f6925c9f37f8cc9afd141d2e.tar.xz
linux-1e8430f30b55a1f3f6925c9f37f8cc9afd141d2e.zip
netfilter: nf_tables: nat expression must select CONFIG_NF_NAT
This enables the netfilter NAT engine in first place, otherwise you cannot ever select the nf_tables nat expression if iptables is not selected. Reported-by: Matteo Croce <technoboy85@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index ad751fe2e82b..05eb177ea852 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -499,7 +499,7 @@ config NFT_LIMIT
config NFT_NAT
depends on NF_TABLES
depends on NF_CONNTRACK
- depends on NF_NAT
+ select NF_NAT
tristate "Netfilter nf_tables nat module"
help
This option adds the "nat" expression that you can use to perform