mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-29 03:14:04 +00:00
Fixed invalid fix for bug #30038
This commit is contained in:
parent
505dd10d3c
commit
4b0be4a477
@ -754,9 +754,6 @@ dhcp_network_changed(struct netif *netif)
|
|||||||
case DHCP_REBOOTING:
|
case DHCP_REBOOTING:
|
||||||
netif_set_down(netif);
|
netif_set_down(netif);
|
||||||
dhcp->tries = 0;
|
dhcp->tries = 0;
|
||||||
#if LWIP_DHCP_AUTOIP_COOP
|
|
||||||
dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_OFF;
|
|
||||||
#endif /* LWIP_DHCP_AUTOIP_COOP */
|
|
||||||
dhcp_reboot(netif);
|
dhcp_reboot(netif);
|
||||||
break;
|
break;
|
||||||
case DHCP_OFF:
|
case DHCP_OFF:
|
||||||
@ -764,6 +761,9 @@ dhcp_network_changed(struct netif *netif)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
dhcp->tries = 0;
|
dhcp->tries = 0;
|
||||||
|
#if LWIP_DHCP_AUTOIP_COOP
|
||||||
|
dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_OFF;
|
||||||
|
#endif /* LWIP_DHCP_AUTOIP_COOP */
|
||||||
dhcp_discover(netif);
|
dhcp_discover(netif);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user