[NET]: NETCONSOLE must depend on INET
authorAdrian Bunk <bunk@stusta.de>
Tue, 19 Jul 2005 21:00:53 +0000 (14:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2005 21:00:53 +0000 (14:00 -0700)
NETCONSOLE=y and INET=n results in the following compile error:

net/built-in.o: In function `netpoll_parse_options':
: undefined reference to `in_aton'
net/built-in.o: In function `netpoll_parse_options':
: undefined reference to `in_aton'

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig

index f827f0a1e1a67d29532824614b805a13e05c01be..534b598866b37258af82d83f053c9fe8c494adfa 100644 (file)
@@ -2544,7 +2544,7 @@ config SHAPER
 
 config NETCONSOLE
        tristate "Network console logging support (EXPERIMENTAL)"
-       depends on NETDEVICES && EXPERIMENTAL
+       depends on NETDEVICES && INET && EXPERIMENTAL
        ---help---
        If you want to log kernel messages over the network, enable this.
        See <file:Documentation/networking/netconsole.txt> for details.