提交 628f87f3 编写于 作者: H Harald Welte 提交者: David S. Miller

[NETFILTER]: Solve Kconfig dependency problem

As suggested by Roman Zippel.
Signed-off-by: NHarald Welte <laforge@netfilter.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 987905de
...@@ -8,7 +8,6 @@ menu "IP: Netfilter Configuration" ...@@ -8,7 +8,6 @@ menu "IP: Netfilter Configuration"
# connection tracking, helpers and protocols # connection tracking, helpers and protocols
config IP_NF_CONNTRACK config IP_NF_CONNTRACK
tristate "Connection tracking (required for masq/NAT)" tristate "Connection tracking (required for masq/NAT)"
select NETFILTER_NETLINK if IP_NF_CONNTRACK_NETLINK!=n
---help--- ---help---
Connection tracking keeps a record of what packets have passed Connection tracking keeps a record of what packets have passed
through your machine, in order to figure out how they are related through your machine, in order to figure out how they are related
...@@ -55,8 +54,7 @@ config IP_NF_CONNTRACK_EVENTS ...@@ -55,8 +54,7 @@ config IP_NF_CONNTRACK_EVENTS
config IP_NF_CONNTRACK_NETLINK config IP_NF_CONNTRACK_NETLINK
tristate 'Connection tracking netlink interface' tristate 'Connection tracking netlink interface'
depends on IP_NF_CONNTRACK && NETFILTER_NETLINK depends on IP_NF_CONNTRACK && NETFILTER_NETLINK
default IP_NF_CONNTRACK if NETFILTER_NETLINK=y depends on IP_NF_CONNTRACK!=y || NETFILTER_NETLINK!=m
default m if NETFILTER_NETLINK=m
help help
This option enables support for a netlink-based userspace interface This option enables support for a netlink-based userspace interface
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册