summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/nshlib/nsh_netcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_netcmds.c b/apps/nshlib/nsh_netcmds.c
index 11286c367..5540c66d8 100644
--- a/apps/nshlib/nsh_netcmds.c
+++ b/apps/nshlib/nsh_netcmds.c
@@ -279,7 +279,7 @@ static inline void net_statistics(FAR struct nsh_vtbl_s *vtbl)
#ifdef CONFIG_NET_IPv4
nsh_output(vtbl, " IPv4");
#endif
-#ifdef CONFIG_NET_IPv4
+#ifdef CONFIG_NET_IPv6
nsh_output(vtbl, " IPv6");
#endif
#ifdef CONFIG_NET_TCP