Cosmetic changes, updates to README files, updates to some comments

This commit is contained in:
Gregory Nutt 2014-06-30 17:52:59 -06:00
parent b7d73dab81
commit b416696205
2 changed files with 3 additions and 3 deletions

View File

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

View File

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