nshlib/nsh_netcmds.c: Fix a compilation error when IPv4/IPv6 dual stack is enabled

This commit is contained in:
Masayuki Ishikawa 2017-09-26 11:11:55 +09:00
parent 3fe720d1e2
commit 4822878990

View File

@ -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