mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-18 20:10:53 +00:00
Once again fixed #30038: DHCP/AutoIP cooperation failed when replugging the network cable after an AutoIP address was assigned.
This commit is contained in:
parent
4cc36b2284
commit
93dc36e091
@ -229,6 +229,10 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2010-10-05: Simon Goldschmidt
|
||||||
|
* dhcp.c: Once again fixed #30038: DHCP/AutoIP cooperation failed when
|
||||||
|
replugging the network cable after an AutoIP address was assigned.
|
||||||
|
|
||||||
2010-08-10: Simon Goldschmidt
|
2010-08-10: Simon Goldschmidt
|
||||||
* tcp.c: Fixed bug #30728: tcp_new_port() did not check listen pcbs
|
* tcp.c: Fixed bug #30728: tcp_new_port() did not check listen pcbs
|
||||||
|
|
||||||
|
@ -762,7 +762,10 @@ dhcp_network_changed(struct netif *netif)
|
|||||||
default:
|
default:
|
||||||
dhcp->tries = 0;
|
dhcp->tries = 0;
|
||||||
#if LWIP_DHCP_AUTOIP_COOP
|
#if LWIP_DHCP_AUTOIP_COOP
|
||||||
|
if(dhcp->autoip_coop_state == DHCP_AUTOIP_COOP_STATE_ON) {
|
||||||
|
autoip_stop(netif);
|
||||||
dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_OFF;
|
dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_OFF;
|
||||||
|
}
|
||||||
#endif /* LWIP_DHCP_AUTOIP_COOP */
|
#endif /* LWIP_DHCP_AUTOIP_COOP */
|
||||||
dhcp_discover(netif);
|
dhcp_discover(netif);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user