wok-6.x annotate busybox/stuff/busybox-1.11.0-dhcpc.u @ rev 1424
Up slim 1.3.1 (automatic login + more customizations)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 26 13:16:44 2008 +0000 (2008-09-26) |
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++; |