[NETFILTER]: nf_nat: fix NF_NAT dependency
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Tue, 12 Dec 2006 08:28:09 +0000 (00:28 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 14 Dec 2006 00:48:19 +0000 (16:48 -0800)
NF_NAT depends on NF_CONNTRACK_IPV4, not NF_CONNTRACK.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/Kconfig

index 363df9976c9d412a959b2aa3fad790d31a4d90d3..f6026d4ac428d1bab8f1f59080e6d55c315275a7 100644 (file)
@@ -401,7 +401,7 @@ config IP_NF_NAT
 # NAT + specific targets: nf_conntrack
 config NF_NAT
        tristate "Full NAT"
-       depends on IP_NF_IPTABLES && NF_CONNTRACK
+       depends on IP_NF_IPTABLES && NF_CONNTRACK_IPV4
        help
          The Full NAT option allows masquerading, port forwarding and other
          forms of full Network Address Port Translation.  It is controlled by