mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +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:
|
||||
|
||||
2010-06-12: Simon Goldschmidt
|
||||
* dhcp.c: Fixed bug #30038: dhcp_network_changed doesn't reset AUTOIP coop
|
||||
state
|
||||
|
||||
2010-05-17: Simon Goldschmidt
|
||||
* netdb.c: Correctly NULL-terminate h_addr_list
|
||||
|
||||
|
@ -754,6 +754,9 @@ 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:
|
||||
|
Loading…
Reference in New Issue
Block a user