mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-16 16:13:45 +00:00
Fixed bug #30038: dhcp_network_changed doesn't reset AUTOIP coop state
This commit is contained in:
parent
69bd5a29d9
commit
66b57f89df
@ -220,6 +220,10 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2010-06-12: Simon Goldschmidt
|
||||||
|
* dhcp.c: Fixed bug #30038: dhcp_network_changed doesn't reset AUTOIP coop
|
||||||
|
state
|
||||||
|
|
||||||
2010-05-17: Simon Goldschmidt
|
2010-05-17: Simon Goldschmidt
|
||||||
* netdb.c: Correctly NULL-terminate h_addr_list
|
* netdb.c: Correctly NULL-terminate h_addr_list
|
||||||
|
|
||||||
|
@ -754,6 +754,9 @@ 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user