From f48d95e941c898af1375418fdead9abf0e0124c2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 27 Nov 2015 07:36:49 -0600 Subject: [PATCH] Use lower case labels in ifconfig driver statistics to better match other labels --- nshlib/nsh_netcmds.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nshlib/nsh_netcmds.c b/nshlib/nsh_netcmds.c index 4591524df..be3618043 100644 --- a/nshlib/nsh_netcmds.c +++ b/nshlib/nsh_netcmds.c @@ -474,7 +474,7 @@ static inline void netdev_statistics(FAR struct nsh_vtbl_s *vtbl, /* Rx Statistics */ nsh_output(vtbl, "\tRX: %-8s %-8s %-8s\n", - "RECEIVED", "FRAGMENT", "ERRORS"); + "Received", "Fragment", "Errors"); nsh_output(vtbl, "\t %08lx %08lx %08lx\n", (unsigned long)stats->rx_packets, (unsigned long)stats->rx_fragments, @@ -502,7 +502,7 @@ static inline void netdev_statistics(FAR struct nsh_vtbl_s *vtbl, #ifdef CONFIG_NET_ARP , "ARP" #endif - , "DROPPED"); + , "Dropped"); fmt = "\t " #ifdef CONFIG_NET_IPv4 @@ -529,13 +529,13 @@ static inline void netdev_statistics(FAR struct nsh_vtbl_s *vtbl, , (unsigned long)stats->rx_dropped); nsh_output(vtbl, "\tTX: %-8s %-8s %-8s %-8s\n", - "QUEUED", "SENT", "ERRORS", "TIMEOUTS"); + "Queued", "Sent", "Erorts", "Timeouts"); nsh_output(vtbl, "\t %08lx %08lx %08lx %08lx\n", (unsigned long)stats->tx_packets, (unsigned long)stats->tx_done, (unsigned long)stats->tx_errors, (unsigned long)stats->tx_timeouts); - nsh_output(vtbl, "\tTOTAL ERRORS: %08x\n\n", + nsh_output(vtbl, "\tTotal Errors: %08x\n\n", (unsigned long)stats->errors); } #else