summaryrefslogtreecommitdiff
path: root/scripts/vyatta-show-interfaces.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-show-interfaces.pl')
-rw-r--r--scripts/vyatta-show-interfaces.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-show-interfaces.pl b/scripts/vyatta-show-interfaces.pl
index cd90104..6418efa 100644
--- a/scripts/vyatta-show-interfaces.pl
+++ b/scripts/vyatta-show-interfaces.pl
@@ -243,7 +243,7 @@ sub run_show_intf {
# todo: handle counter wrap
printf(" %10s %10s %10s %10s %10s %10s\n", "RX: bytes", "packets",
"errors", "dropped", "overrun", "mcast");
- printf(" %10d %10d %10d %10d %10d %10d\n",
+ printf(" %10u %10u %10u %10d %10u %10u\n",
$stats{'rx_bytes'} - $clear{'rx_bytes'},
$stats{'rx_packets'} - $clear{'rx_packets'},
$stats{'rx_errors'} - $clear{'rx_errors'}, ,
@@ -252,7 +252,7 @@ sub run_show_intf {
$stats{'multicast'} - $clear{'multicast'});
printf(" %10s %10s %10s %10s %10s %10s\n", "TX: bytes", "packets",
"errors", "dropped", "carrier", "collisions");
- printf(" %10d %10d %10d %10d %10d %10d\n\n",
+ printf(" %10u %10u %10u %10u %10u %10u\n\n",
$stats{'tx_bytes'} - $clear{'tx_bytes'},
$stats{'tx_packets'} - $clear{'tx_packets'},
$stats{'tx_errors'} - $clear{'tx_errors'},