diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-17 08:29:48 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-17 08:29:48 +0000 |
commit | 856be770a66a4d928f13c9d2f401dc1092e5270e (patch) | |
tree | 62c6391260ae26ec9a383e72265a4ab3f6894373 /networking | |
parent | 7f175ccbc38c0de2423a9554f8ee1663431845d9 (diff) | |
download | busybox-w32-856be770a66a4d928f13c9d2f401dc1092e5270e.tar.gz busybox-w32-856be770a66a4d928f13c9d2f401dc1092e5270e.tar.bz2 busybox-w32-856be770a66a4d928f13c9d2f401dc1092e5270e.zip |
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 040bbe389..e1c1e652b 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -484,12 +484,12 @@ static const struct dhcp_client_t ext_dhcp_clients[] = { | |||
484 | static int dhcp_up(struct interface_defn_t *ifd, execfn *exec) | 484 | static int dhcp_up(struct interface_defn_t *ifd, execfn *exec) |
485 | { | 485 | { |
486 | #if ENABLE_FEATURE_IFUPDOWN_EXTERNAL_DHCP | 486 | #if ENABLE_FEATURE_IFUPDOWN_EXTERNAL_DHCP |
487 | int i; | ||
487 | #if ENABLE_FEATURE_IFUPDOWN_IP | 488 | #if ENABLE_FEATURE_IFUPDOWN_IP |
488 | /* ip doesn't up iface when it configures it (unlike ifconfig) */ | 489 | /* ip doesn't up iface when it configures it (unlike ifconfig) */ |
489 | if (!execute("ip link set %iface% up", ifd, exec)) | 490 | if (!execute("ip link set %iface% up", ifd, exec)) |
490 | return 0; | 491 | return 0; |
491 | #endif | 492 | #endif |
492 | int i; | ||
493 | for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) { | 493 | for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) { |
494 | if (exists_execable(ext_dhcp_clients[i].name)) | 494 | if (exists_execable(ext_dhcp_clients[i].name)) |
495 | return execute(ext_dhcp_clients[i].startcmd, ifd, exec); | 495 | return execute(ext_dhcp_clients[i].startcmd, ifd, exec); |
diff --git a/networking/libiproute/Kbuild b/networking/libiproute/Kbuild index 95d37e8e7..9e9e760ad 100644 --- a/networking/libiproute/Kbuild +++ b/networking/libiproute/Kbuild | |||
@@ -6,6 +6,10 @@ | |||
6 | # | 6 | # |
7 | 7 | ||
8 | lib-y:= | 8 | lib-y:= |
9 | |||
10 | lib-$(CONFIG_SLATTACH) += \ | ||
11 | utils.o | ||
12 | |||
9 | lib-$(CONFIG_IP) += \ | 13 | lib-$(CONFIG_IP) += \ |
10 | ip_parse_common_args.o \ | 14 | ip_parse_common_args.o \ |
11 | libnetlink.o \ | 15 | libnetlink.o \ |