From 48228789908192a9850000862ce0be765dc72c0f Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Tue, 26 Sep 2017 11:11:55 +0900 Subject: [PATCH] nshlib/nsh_netcmds.c: Fix a compilation error when IPv4/IPv6 dual stack is enabled --- nshlib/nsh_netcmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_netcmds.c b/nshlib/nsh_netcmds.c index d48cc69cf..34b30537f 100644 --- a/nshlib/nsh_netcmds.c +++ b/nshlib/nsh_netcmds.c @@ -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