We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41a3609 commit 4599f55Copy full SHA for 4599f55
src/core/ipv4/dhcp.c
@@ -831,6 +831,8 @@ dhcp_start(struct netif *netif)
831
return ERR_MEM;
832
}
833
834
+ /* clear the flags, the rest is cleared below */
835
+ dhcp->flags = 0;
836
/* store this dhcp client in the netif */
837
netif_set_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_DHCP, dhcp);
838
LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("dhcp_start(): allocated dhcp\n"));
0 commit comments