Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
state = REBINDING;
/* fall right through */
case REBINDING:
+ /* Switch to bcast receive */
+ change_listen_mode(LISTEN_RAW);
/* Lease is *really* about to run out,
* try to find DHCP server using broadcast */
if (timeout > 0) {
/* Timed out, enter init state */
bb_info_msg("Lease lost, entering init state");
udhcp_run_script(NULL, "deconfig");
- change_listen_mode(LISTEN_RAW);
state = INIT_SELECTING;
/*timeout = 0; - already is */
packet_num = 0;