wok-current view busybox/stuff/busybox-1.11.0-dhcpc.u @ rev 5478
Fixed acl-dev. Soft link acl.h to /usr/include/sys/acl.h. This is so cups-pam can be build.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu May 06 01:07:40 2010 +0000 (2010-05-06) |
parents | |
children |
line source
1 --- busybox-1.11.0/networking/udhcp/dhcpc.c
2 +++ busybox-1.11.0/networking/udhcp/dhcpc.c
3 @@ -356,7 +356,11 @@
4 if (packet_num == 0)
5 xid = random_xid();
7 - send_discover(xid, requested_ip); /* broadcast */
8 + if (send_discover(xid, requested_ip) < 0) { /* broadcast */
9 + bb_info_msg("No network, failing");
10 + retval = 1;
11 + goto ret;
12 + }
14 timeout = discover_timeout;
15 packet_num++;