summaryrefslogtreecommitdiff
path: root/apps/nshlib
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-30 17:52:59 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-30 17:52:59 -0600
commit4573a26f7651c08a2410219c2404b4d7c4362576 (patch)
tree2d04ffce8cbd426d319078db4d5ab861624a771d /apps/nshlib
parent87ac6625ffbdc3e18aec7278149a57db210ba178 (diff)
downloadnuttx-4573a26f7651c08a2410219c2404b4d7c4362576.tar.gz
nuttx-4573a26f7651c08a2410219c2404b4d7c4362576.tar.bz2
nuttx-4573a26f7651c08a2410219c2404b4d7c4362576.zip
Cosmetic changes, updates to README files, updates to some comments
Diffstat (limited to 'apps/nshlib')
-rw-r--r--apps/nshlib/README.txt4
-rw-r--r--apps/nshlib/nsh_netcmds.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/nshlib/README.txt b/apps/nshlib/README.txt
index f4dc84be7..d894c9deb 100644
--- a/apps/nshlib/README.txt
+++ b/apps/nshlib/README.txt
@@ -483,8 +483,8 @@ o ifconfig [nic_name [<ip-address>|dhcp]] [dr|gw|gateway <dr-address>] [netmask
eth0 HWaddr 00:18:11:80:10:06
IPaddr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0
- if uIP statistics are enabled (CONFIG_NET_STATISTICS), then
- this command will also show the detailed state of uIP.
+ if networking statistics are enabled (CONFIG_NET_STATISTICS), then
+ this command will also show the detailed state of transfers by protocol.
o ifdown <nic-name>
diff --git a/apps/nshlib/nsh_netcmds.c b/apps/nshlib/nsh_netcmds.c
index 4ea58d974..83bd56c76 100644
--- a/apps/nshlib/nsh_netcmds.c
+++ b/apps/nshlib/nsh_netcmds.c
@@ -169,7 +169,7 @@ static inline uint16_t ping_newid(void)
#if defined(CONFIG_NET_STATISTICS) && !defined(CONFIG_NSH_DISABLE_IFCONFIG)
static inline void net_statistics(FAR struct nsh_vtbl_s *vtbl)
{
- nsh_output(vtbl, "uIP IP ");
+ nsh_output(vtbl, " IP ");
#ifdef CONFIG_NET_TCP
nsh_output(vtbl, " TCP");
#endif