Commit 76b6717b authored by Randy Dunlap's avatar Randy Dunlap Committed by Patrick McHardy

netfilter: fix kconfig unmet dependency warning

Fix netfilter kconfig unmet dependencies warning & spell out
"compatible" while there.

warning: (IP_NF_TARGET_TTL && NET && INET && NETFILTER && IP_NF_IPTABLES && NETFILTER_ADVANCED || IP6_NF_TARGET_HL && NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED) selects NETFILTER_XT_TARGET_HL which has unmet direct dependencies ((IP_NF_MANGLE || IP6_NF_MANGLE) && NETFILTER_ADVANCED)
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent a91fd267
...@@ -324,10 +324,10 @@ config IP_NF_TARGET_ECN ...@@ -324,10 +324,10 @@ config IP_NF_TARGET_ECN
config IP_NF_TARGET_TTL config IP_NF_TARGET_TTL
tristate '"TTL" target support' tristate '"TTL" target support'
depends on NETFILTER_ADVANCED depends on NETFILTER_ADVANCED && IP_NF_MANGLE
select NETFILTER_XT_TARGET_HL select NETFILTER_XT_TARGET_HL
---help--- ---help---
This is a backwards-compat option for the user's convenience This is a backwards-compatible option for the user's convenience
(e.g. when running oldconfig). It selects (e.g. when running oldconfig). It selects
CONFIG_NETFILTER_XT_TARGET_HL. CONFIG_NETFILTER_XT_TARGET_HL.
......
...@@ -132,10 +132,10 @@ config IP6_NF_MATCH_RT ...@@ -132,10 +132,10 @@ config IP6_NF_MATCH_RT
# The targets # The targets
config IP6_NF_TARGET_HL config IP6_NF_TARGET_HL
tristate '"HL" hoplimit target support' tristate '"HL" hoplimit target support'
depends on NETFILTER_ADVANCED depends on NETFILTER_ADVANCED && IP6_NF_MANGLE
select NETFILTER_XT_TARGET_HL select NETFILTER_XT_TARGET_HL
---help--- ---help---
This is a backwards-compat option for the user's convenience This is a backwards-compatible option for the user's convenience
(e.g. when running oldconfig). It selects (e.g. when running oldconfig). It selects
CONFIG_NETFILTER_XT_TARGET_HL. CONFIG_NETFILTER_XT_TARGET_HL.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment