ipvs: Kconfig cleanup
authorMichal Marek <mmarek@suse.cz>
Mon, 5 Jul 2010 08:42:37 +0000 (10:42 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 5 Jul 2010 08:42:37 +0000 (10:42 +0200)
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>
net/netfilter/ipvs/Kconfig

index 712ccad133447953fdc86e8e07127f582c9a98dc..d80b41abec0930e1c998d3e5ee13be74d56bce99 100644 (file)
@@ -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.