summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2010-07-05 10:42:37 +0200
committerPatrick McHardy <kaber@trash.net>2010-07-05 10:42:37 +0200
commit72c7664f9278b31fcf6b7828c1417caca5b68104 (patch)
tree9e48315ba1fbac73416d9654ceefeb1e4bf5582c /net
parentb13b7125e4d10ce39818eec1bcb2d9777d29475f (diff)
downloadop-kernel-dev-72c7664f9278b31fcf6b7828c1417caca5b68104.zip
op-kernel-dev-72c7664f9278b31fcf6b7828c1417caca5b68104.tar.gz
ipvs: Kconfig cleanup
IP_VS_PROTO_AH_ESP should be set iff either of IP_VS_PROTO_{AH,ESP} is selected. Express this with standard kconfig syntax. Signed-off-by: Michal Marek <mmarek@suse.cz> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/ipvs/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig
index 712ccad..d80b41a 100644
--- a/net/netfilter/ipvs/Kconfig
+++ b/net/netfilter/ipvs/Kconfig
@@ -87,19 +87,16 @@ config IP_VS_PROTO_UDP
protocol. Say Y if unsure.
config IP_VS_PROTO_AH_ESP
- bool
- depends on UNDEFINED
+ def_bool IP_VS_PROTO_ESP || IP_VS_PROTO_AH
config IP_VS_PROTO_ESP
bool "ESP load balancing support"
- select IP_VS_PROTO_AH_ESP
---help---
This option enables support for load balancing ESP (Encapsulation
Security Payload) transport protocol. Say Y if unsure.
config IP_VS_PROTO_AH
bool "AH load balancing support"
- select IP_VS_PROTO_AH_ESP
---help---
This option enables support for load balancing AH (Authentication
Header) transport protocol. Say Y if unsure.
OpenPOWER on IntegriCloud