mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08: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;);
|
LWIP_ERROR("netif != NULL", (netif != NULL), return;);
|
||||||
|
|
||||||
memset(&dhcp, 0, sizeof(struct dhcp));
|
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)) {
|
if ((netif->dhcp != NULL) && (netif->dhcp->pcb != NULL)) {
|
||||||
/* re-use existing pcb */
|
/* re-use existing pcb */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user