diff options
author | Harald Welte <laforge@netfilter.org> | 2005-09-17 03:41:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-17 03:41:02 -0400 |
commit | 777ed97f3e549832845d70dcae96cb36c41a543a (patch) | |
tree | 20e8a4bcf987df19689eacfcc6c933048e0209ed /net | |
parent | 22abe310bc4b0c684fd3716af6b6116ff1011707 (diff) |
[NETFILTER] Fix Kconfig dependencies for nfnetlink/ctnetlink
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/netfilter/Kconfig | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig index 30aa8e2ee214..85190de5710a 100644 --- a/net/ipv4/netfilter/Kconfig +++ b/net/ipv4/netfilter/Kconfig | |||
@@ -8,6 +8,7 @@ menu "IP: Netfilter Configuration" | |||
8 | # connection tracking, helpers and protocols | 8 | # connection tracking, helpers and protocols |
9 | config IP_NF_CONNTRACK | 9 | config IP_NF_CONNTRACK |
10 | tristate "Connection tracking (required for masq/NAT)" | 10 | tristate "Connection tracking (required for masq/NAT)" |
11 | select NETFILTER_NETLINK if IP_NF_CONNTRACK_NETLINK!=n | ||
11 | ---help--- | 12 | ---help--- |
12 | Connection tracking keeps a record of what packets have passed | 13 | Connection tracking keeps a record of what packets have passed |
13 | through your machine, in order to figure out how they are related | 14 | through your machine, in order to figure out how they are related |
@@ -51,6 +52,15 @@ config IP_NF_CONNTRACK_EVENTS | |||
51 | 52 | ||
52 | IF unsure, say `N'. | 53 | IF unsure, say `N'. |
53 | 54 | ||
55 | config IP_NF_CONNTRACK_NETLINK | ||
56 | tristate 'Connection tracking netlink interface' | ||
57 | depends on IP_NF_CONNTRACK && NETFILTER_NETLINK | ||
58 | default IP_NF_CONNTRACK if NETFILTER_NETLINK=y | ||
59 | default m if NETFILTER_NETLINK=m | ||
60 | help | ||
61 | This option enables support for a netlink-based userspace interface | ||
62 | |||
63 | |||
54 | config IP_NF_CT_PROTO_SCTP | 64 | config IP_NF_CT_PROTO_SCTP |
55 | tristate 'SCTP protocol connection tracking support (EXPERIMENTAL)' | 65 | tristate 'SCTP protocol connection tracking support (EXPERIMENTAL)' |
56 | depends on IP_NF_CONNTRACK && EXPERIMENTAL | 66 | depends on IP_NF_CONNTRACK && EXPERIMENTAL |
@@ -774,11 +784,5 @@ config IP_NF_ARP_MANGLE | |||
774 | Allows altering the ARP packet payload: source and destination | 784 | Allows altering the ARP packet payload: source and destination |
775 | hardware and network addresses. | 785 | hardware and network addresses. |
776 | 786 | ||
777 | config IP_NF_CONNTRACK_NETLINK | ||
778 | tristate 'Connection tracking netlink interface' | ||
779 | depends on IP_NF_CONNTRACK && NETFILTER_NETLINK | ||
780 | help | ||
781 | This option enables support for a netlink-based userspace interface | ||
782 | |||
783 | endmenu | 787 | endmenu |
784 | 788 | ||