Commit 6876f95f authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

[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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 54208991
...@@ -54,9 +54,9 @@ config IP_ADVANCED_ROUTER ...@@ -54,9 +54,9 @@ config IP_ADVANCED_ROUTER
choice choice
prompt "Choose IP: FIB lookup algorithm (choose FIB_HASH if unsure)" prompt "Choose IP: FIB lookup algorithm (choose FIB_HASH if unsure)"
depends on IP_ADVANCED_ROUTER 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" bool "FIB_HASH"
---help--- ---help---
Current FIB is very proven and good enough for most users. Current FIB is very proven and good enough for most users.
...@@ -82,12 +82,8 @@ config IP_FIB_TRIE ...@@ -82,12 +82,8 @@ config IP_FIB_TRIE
endchoice endchoice
# If the user does not enable advanced routing, he gets the safe
# default of the fib-hash algorithm.
config IP_FIB_HASH config IP_FIB_HASH
bool def_bool ASK_IP_FIB_HASH || !IP_ADVANCED_ROUTER
depends on !IP_ADVANCED_ROUTER
default y
config IP_MULTIPLE_TABLES config IP_MULTIPLE_TABLES
bool "IP: policy routing" bool "IP: policy routing"
......
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