mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
netinit:Fix typo IPCFG_USE_DHCPC->IPCFG_USE_DHCP
This commit is contained in:
parent
9f9fed3232
commit
cb111c0ee8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue