mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 04:26:04 +08:00
NSH: A few minor improvements/corrections to the network status presentation
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user