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

@@ -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);
}
}