wok-next annotate busybox/stuff/busybox-1.10.0-dhcpc.u @ rev 2851
gst-*: Update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 01 17:13:41 2009 +0200 (2009-05-01) |
parents | |
children |
rev | line source |
---|---|
pascal@537 | 1 --- busybox-1.10.0/networking/udhcp/dhcpc.c |
pascal@537 | 2 +++ busybox-1.10.0/networking/udhcp/dhcpc.c |
pascal@537 | 3 @@ -377,7 +377,11 @@ |
pascal@537 | 4 xid = random_xid(); |
pascal@537 | 5 |
pascal@537 | 6 /* send discover packet */ |
pascal@537 | 7 - send_discover(xid, requested_ip); /* broadcast */ |
pascal@537 | 8 + if (send_discover(xid, requested_ip) < 0) { /* broadcast */ |
pascal@537 | 9 + bb_info_msg("No network, failing"); |
pascal@537 | 10 + retval = 1; |
pascal@537 | 11 + goto ret; |
pascal@537 | 12 + } |
pascal@537 | 13 |
pascal@537 | 14 timeout = discover_timeout; |
pascal@537 | 15 packet_num++; |