Fixed typo in dchp_inform (state is named DHCP_INFORMING, not DHCP_INFORM)

This commit is contained in:
sg 2015-04-19 12:30:20 +02:00
parent c8db96705f
commit a5503df32b

View File

@ -753,7 +753,7 @@ dhcp_inform(struct netif *netif)
LWIP_ERROR("netif != NULL", (netif != NULL), return;);
memset(&dhcp, 0, sizeof(struct dhcp));
dhcp_set_state(&dhcp, DHCP_INFORM);
dhcp_set_state(&dhcp, DHCP_INFORMING);
if ((netif->dhcp != NULL) && (netif->dhcp->pcb != NULL)) {
/* re-use existing pcb */