wok annotate busybox/stuff/busybox-1.11.0-dhcpc.u @ rev 1021

Add kismet 802.11 monitoring tool
author Dominique Corbex <domcox@users.sourceforge.net>
date Wed Jul 09 22:49:19 2008 +0200 (2008-07-09)
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++;