diff options
author | Florian Westphal <fw@strlen.de> | 2013-02-02 20:24:07 -0500 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-02-04 19:43:47 -0500 |
commit | 35612a229c3a66aad7577d7f25e7ebb5286faf2d (patch) | |
tree | 6ad6e6d90f0c72d60061bc20d2cb3dbf88a155d8 | |
parent | 27000929ef0f137b34ba219eb04b05e772eff2b1 (diff) |
netfilter: fix missing dependencies for NETFILTER_XT_MATCH_CONNLABEL
It was possible to set NF_CONNTRACK=n and NF_CONNTRACK_LABELS=y via
NETFILTER_XT_MATCH_CONNLABEL=y.
warning: (NETFILTER_XT_MATCH_CONNLABEL) selects NF_CONNTRACK_LABELS which has
unmet direct dependencies (NET && INET && NETFILTER && NF_CONNTRACK)
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | net/netfilter/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index eb2c8ebf6d99..d4dd702574e4 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig | |||
@@ -860,6 +860,7 @@ config NETFILTER_XT_MATCH_CONNBYTES | |||
860 | config NETFILTER_XT_MATCH_CONNLABEL | 860 | config NETFILTER_XT_MATCH_CONNLABEL |
861 | tristate '"connlabel" match support' | 861 | tristate '"connlabel" match support' |
862 | select NF_CONNTRACK_LABELS | 862 | select NF_CONNTRACK_LABELS |
863 | depends on NF_CONNTRACK | ||
863 | depends on NETFILTER_ADVANCED | 864 | depends on NETFILTER_ADVANCED |
864 | ---help--- | 865 | ---help--- |
865 | This match allows you to test and assign userspace-defined labels names | 866 | This match allows you to test and assign userspace-defined labels names |