diff options
author | Denis Vlasenko | 2007-08-17 08:29:48 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-08-17 08:29:48 +0000 |
commit | 856be770a66a4d928f13c9d2f401dc1092e5270e (patch) | |
tree | 62c6391260ae26ec9a383e72265a4ab3f6894373 /networking | |
parent | 7f175ccbc38c0de2423a9554f8ee1663431845d9 (diff) | |
download | busybox-856be770a66a4d928f13c9d2f401dc1092e5270e.zip busybox-856be770a66a4d928f13c9d2f401dc1092e5270e.tar.gz |
assorted fixes for breakage found by randomconfig
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifupdown.c | 2 | ||||
-rw-r--r-- | networking/libiproute/Kbuild | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 040bbe3..e1c1e65 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -484,12 +484,12 @@ static const struct dhcp_client_t ext_dhcp_clients[] = { static int dhcp_up(struct interface_defn_t *ifd, execfn *exec) { #if ENABLE_FEATURE_IFUPDOWN_EXTERNAL_DHCP + int i; #if ENABLE_FEATURE_IFUPDOWN_IP /* ip doesn't up iface when it configures it (unlike ifconfig) */ if (!execute("ip link set %iface% up", ifd, exec)) return 0; #endif - int i; for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) { if (exists_execable(ext_dhcp_clients[i].name)) return execute(ext_dhcp_clients[i].startcmd, ifd, exec); diff --git a/networking/libiproute/Kbuild b/networking/libiproute/Kbuild index 95d37e8..9e9e760 100644 --- a/networking/libiproute/Kbuild +++ b/networking/libiproute/Kbuild @@ -6,6 +6,10 @@ # lib-y:= + +lib-$(CONFIG_SLATTACH) += \ + utils.o + lib-$(CONFIG_IP) += \ ip_parse_common_args.o \ libnetlink.o \ |