NSH: A few minor improvements/corrections to the network status presentation

This commit is contained in:
Gregory Nutt
2015-01-24 09:11:12 -06:00
parent 6d2ecf8a79
commit 0c7864ae68

View File

@@ -439,10 +439,10 @@ static inline void net_statistics(FAR struct nsh_vtbl_s *vtbl)
#ifdef CONFIG_NET_IPv6 #ifdef CONFIG_NET_IPv6
nsh_output(vtbl, " ----"); nsh_output(vtbl, " ----");
#endif #endif
nsh_output(vtbl, " %04x", g_netstats.tcp.rexmit);
#ifdef CONFIG_NET_UDP #ifdef CONFIG_NET_UDP
nsh_output(vtbl, " ----"); nsh_output(vtbl, " ----");
#endif #endif
nsh_output(vtbl, " %04x", g_netstats.tcp.rexmit);
#ifdef CONFIG_NET_ICMP #ifdef CONFIG_NET_ICMP
nsh_output(vtbl, " ----"); nsh_output(vtbl, " ----");
#endif #endif