mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Fixed typo in dchp_inform (state is named DHCP_INFORMING, not DHCP_INFORM)
This commit is contained in:
parent
c8db96705f
commit
a5503df32b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user