]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ipconfig: fix trivial build error
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Sep 2012 22:09:58 +0000 (22:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Sep 2012 17:22:30 +0000 (13:22 -0400)
commit842b08bbee448b2069aaebb7f18b40942ad2a1bd
tree86e639f70d101e0a299829d3fa324c20aa17e8ba
parent8489c1d9a80e6263fb71de5bc7f39773712cfa7e
ipconfig: fix trivial build error

The commit 5e953778a2aab04929a5e7b69f53dc26e39b079e ("ipconfig: add nameserver
IPs to kernel-parameter ip=") introduces ic_nameservers_predef() that defined
only for BOOTP. However it is used by ip_auto_config_setup() as well. This
patch moves it outside of #ifdef BOOTP.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Christoph Fritz <chf.fritz@googlemail.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipconfig.c