From cb111c0ee8a52c2c33e42759d1a5a4178d64a64e Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 15 Oct 2020 08:50:00 -0700 Subject: [PATCH] netinit:Fix typo IPCFG_USE_DHCPC->IPCFG_USE_DHCP --- netutils/netinit/netinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netutils/netinit/netinit.c b/netutils/netinit/netinit.c index 2cf3392e9..00a4c1e97 100644 --- a/netutils/netinit/netinit.c +++ b/netutils/netinit/netinit.c @@ -370,7 +370,7 @@ static inline void netinit_set_ipv4addrs(void) /* Check if we are using DHCPC */ #ifdef CONFIG_NETUTILS_DHCPC - if (IPCFG_USE_DHCPC(ipv4cfg.proto)) + if (IPCFG_USE_DHCP(ipv4cfg.proto)) { g_use_dhcpc = true; addr.s_addr = 0;