fixed bug #38203 (DHCP options are not recorded in all DHCP ack messages)

This commit is contained in:
sg 2015-03-20 20:29:04 +01:00
parent f7a5b71dba
commit d6620f0f3a
2 changed files with 4 additions and 0 deletions

View File

@ -216,6 +216,9 @@ HISTORY
++ 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
* api.h, tcpip.h, api_lib.c, api_msg.c: fixed race conditions in assigning
netconn->last_err (fixed bugs #38121 and #37676)

View File

@ -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? */
else if ((dhcp->state == DHCP_REBOOTING) || (dhcp->state == DHCP_REBINDING) || (dhcp->state == DHCP_RENEWING)) {
dhcp_handle_ack(netif);
dhcp_bind(netif);
}
}