mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +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:
|
||||
netif_set_down(netif);
|
||||
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);
|
||||
break;
|
||||
case DHCP_OFF:
|
||||
@ -764,6 +761,9 @@ dhcp_network_changed(struct netif *netif)
|
||||
break;
|
||||
default:
|
||||
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);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user