mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-04 12:48:20 +00:00
nshlib/nsh_netcmds.c: Fix a compilation error when IPv4/IPv6 dual stack is enabled
This commit is contained in:
parent
3fe720d1e2
commit
4822878990
1 changed files with 1 additions and 1 deletions
|
|
@ -1023,7 +1023,7 @@ int cmd_ifconfig(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||
|
||||
#ifdef CONFIG_NET_IPv6
|
||||
#ifdef CONFIG_NET_IPv4
|
||||
if (inet6i != NULL)
|
||||
if (inet6 != NULL)
|
||||
#endif
|
||||
{
|
||||
#warning Missing Logic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue