mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-18 20:10:53 +00:00
This commit is contained in:
parent
23d7f5425d
commit
9317105c37
@ -110,7 +110,8 @@ HISTORY
|
|||||||
have to set IP_SOF_BROADCAST_RECV=1 in opt.h.
|
have to set IP_SOF_BROADCAST_RECV=1 in opt.h.
|
||||||
|
|
||||||
2009-04-28 Simon Goldschmidt, Jakob Stoklund Olesen
|
2009-04-28 Simon Goldschmidt, Jakob Stoklund Olesen
|
||||||
* dhcp.c: patch #6721: Some small fixes to DHCP and DHCP/AUTOIP cooperation
|
* dhcp.c: patch #6721, bugs #25575, #25576: Some small fixes to DHCP and
|
||||||
|
DHCP/AUTOIP cooperation
|
||||||
|
|
||||||
2009-04-25 Simon Goldschmidt, Oleg Tyshev
|
2009-04-25 Simon Goldschmidt, Oleg Tyshev
|
||||||
* tcp_out.c: bug #24212: Deadlocked tcp_retransmit due to exceeded pcb->cwnd
|
* tcp_out.c: bug #24212: Deadlocked tcp_retransmit due to exceeded pcb->cwnd
|
||||||
|
@ -1118,6 +1118,13 @@ dhcp_stop(struct netif *netif)
|
|||||||
LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | 3, ("dhcp_stop()\n"));
|
LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | 3, ("dhcp_stop()\n"));
|
||||||
/* netif is DHCP configured? */
|
/* netif is DHCP configured? */
|
||||||
if (dhcp != NULL) {
|
if (dhcp != NULL) {
|
||||||
|
#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;
|
||||||
|
}
|
||||||
|
#endif /* LWIP_DHCP_AUTOIP_COOP */
|
||||||
|
|
||||||
if (dhcp->pcb != NULL) {
|
if (dhcp->pcb != NULL) {
|
||||||
udp_remove(dhcp->pcb);
|
udp_remove(dhcp->pcb);
|
||||||
dhcp->pcb = NULL;
|
dhcp->pcb = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user