mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-30 12:32:37 +00:00
fixed bug #38203 (DHCP options are not recorded in all DHCP ack messages)
This commit is contained in:
parent
f7a5b71dba
commit
d6620f0f3a
@ -216,6 +216,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2015-03-19: Simon Goldschmidt
|
||||||
|
* dhcp.c: fixed bug #38203 (DHCP options are not recorded in all DHCP ack messages)
|
||||||
|
|
||||||
2015-03-19: Simon Goldschmidt
|
2015-03-19: Simon Goldschmidt
|
||||||
* api.h, tcpip.h, api_lib.c, api_msg.c: fixed race conditions in assigning
|
* api.h, tcpip.h, api_lib.c, api_msg.c: fixed race conditions in assigning
|
||||||
netconn->last_err (fixed bugs #38121 and #37676)
|
netconn->last_err (fixed bugs #38121 and #37676)
|
||||||
|
@ -1641,6 +1641,7 @@ dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr,
|
|||||||
}
|
}
|
||||||
/* already bound to the given lease address? */
|
/* already bound to the given lease address? */
|
||||||
else if ((dhcp->state == DHCP_REBOOTING) || (dhcp->state == DHCP_REBINDING) || (dhcp->state == DHCP_RENEWING)) {
|
else if ((dhcp->state == DHCP_REBOOTING) || (dhcp->state == DHCP_REBINDING) || (dhcp->state == DHCP_RENEWING)) {
|
||||||
|
dhcp_handle_ack(netif);
|
||||||
dhcp_bind(netif);
|
dhcp_bind(netif);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user