From a5503df32b96544b51a9c86a355cb753590f9b32 Mon Sep 17 00:00:00 2001 From: sg Date: Sun, 19 Apr 2015 12:30:20 +0200 Subject: [PATCH] Fixed typo in dchp_inform (state is named DHCP_INFORMING, not DHCP_INFORM) --- src/core/dhcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/dhcp.c b/src/core/dhcp.c index f79ee828..f83a4361 100644 --- a/src/core/dhcp.c +++ b/src/core/dhcp.c @@ -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 */