diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-07-18 13:55:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-18 13:55:19 -0700 |
commit | 6876f95f201ce2d62367d85dd793c1fee351d7a6 (patch) | |
tree | 44031f94643969ebaa7ee2379efc2babaef17c4a /net/ipv4/Kconfig | |
parent | 54208991e15fa00e37a9d172ac0d87191a832165 (diff) | |
download | kernel_samsung_tuna-6876f95f201ce2d62367d85dd793c1fee351d7a6.zip kernel_samsung_tuna-6876f95f201ce2d62367d85dd793c1fee351d7a6.tar.gz kernel_samsung_tuna-6876f95f201ce2d62367d85dd793c1fee351d7a6.tar.bz2 |
[IPV4]: fix IP_FIB_HASH kconfig warning
This patch fixes the following kconfig warning:
net/ipv4/Kconfig:92:warning: defaults for choice values not supported
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/Kconfig')
-rw-r--r-- | net/ipv4/Kconfig | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/net/ipv4/Kconfig b/net/ipv4/Kconfig index df53868..ecea2bc 100644 --- a/net/ipv4/Kconfig +++ b/net/ipv4/Kconfig @@ -54,9 +54,9 @@ config IP_ADVANCED_ROUTER choice prompt "Choose IP: FIB lookup algorithm (choose FIB_HASH if unsure)" depends on IP_ADVANCED_ROUTER - default IP_FIB_HASH + default ASK_IP_FIB_HASH -config IP_FIB_HASH +config ASK_IP_FIB_HASH bool "FIB_HASH" ---help--- Current FIB is very proven and good enough for most users. @@ -82,12 +82,8 @@ config IP_FIB_TRIE endchoice -# If the user does not enable advanced routing, he gets the safe -# default of the fib-hash algorithm. config IP_FIB_HASH - bool - depends on !IP_ADVANCED_ROUTER - default y + def_bool ASK_IP_FIB_HASH || !IP_ADVANCED_ROUTER config IP_MULTIPLE_TABLES bool "IP: policy routing" |