wok view busybox/stuff/busybox-1.10.0-dhcpc.u @ rev 1861

Add: tcl6.5*, tk8.5*.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Dec 16 00:20:30 2008 +0100 (2008-12-16)
parents
children
line source
1 --- busybox-1.10.0/networking/udhcp/dhcpc.c
2 +++ busybox-1.10.0/networking/udhcp/dhcpc.c
3 @@ -377,7 +377,11 @@
4 xid = random_xid();
6 /* send discover packet */
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++;