wok-next annotate busybox/stuff/busybox-1.11.0-dhcpc.u @ rev 3811
Add: python-httplib2 (0.5.0)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Aug 05 23:25:24 2009 +0000 (2009-08-05) |
parents | |
children |
rev | line source |
---|---|
pascal@952 | 1 --- busybox-1.11.0/networking/udhcp/dhcpc.c |
pascal@952 | 2 +++ busybox-1.11.0/networking/udhcp/dhcpc.c |
pascal@952 | 3 @@ -356,7 +356,11 @@ |
pascal@952 | 4 if (packet_num == 0) |
pascal@952 | 5 xid = random_xid(); |
pascal@952 | 6 |
pascal@952 | 7 - send_discover(xid, requested_ip); /* broadcast */ |
pascal@952 | 8 + if (send_discover(xid, requested_ip) < 0) { /* broadcast */ |
pascal@952 | 9 + bb_info_msg("No network, failing"); |
pascal@952 | 10 + retval = 1; |
pascal@952 | 11 + goto ret; |
pascal@952 | 12 + } |
pascal@952 | 13 |
pascal@952 | 14 timeout = discover_timeout; |
pascal@952 | 15 packet_num++; |