summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-24 08:38:13 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-24 08:38:13 -0600
commit1f7a9bc3866322d088a4fe8fc0820e8c5effa44c (patch)
treeaa7fd061b6a2883b915098892ffcefcf543e8aea
parent1d4cb665ff5b5cb0ae0e965bd10c48b99b822533 (diff)
downloadnuttx-1f7a9bc3866322d088a4fe8fc0820e8c5effa44c.tar.gz
nuttx-1f7a9bc3866322d088a4fe8fc0820e8c5effa44c.tar.bz2
nuttx-1f7a9bc3866322d088a4fe8fc0820e8c5effa44c.zip
Correct a typo in conditional compilation
-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