aboutsummaryrefslogtreecommitdiff
path: root/interface.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-03-15 15:37:48 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-03-15 15:37:48 +0000
commit0e0883e0e902901eb46960efd760c874b99c7bc4 (patch)
tree0cb2da76c104c32fdcdb904ae2d894ef5e2e65b2 /interface.c
parent038c8eb5a99edac57f73552645a7196a64e0dbeb (diff)
downloadbusybox-0e0883e0e902901eb46960efd760c874b99c7bc4.tar.gz
Fix stupid cut-and-paste bug... output RX/TX bytes instead of RX/RX bytes.
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface.c b/interface.c
index b6478746a..a80cd5524 100644
--- a/interface.c
+++ b/interface.c
@@ -3,7 +3,7 @@
* that either displays or sets the characteristics of
* one or more of the system's networking interfaces.
*
- * Version: $Id: interface.c,v 1.4 2001/03/12 09:57:59 mjn3 Exp $
+ * Version: $Id: interface.c,v 1.5 2001/03/15 15:37:48 mjn3 Exp $
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* and others. Copyright 1993 MicroWalt Corporation
@@ -2060,7 +2060,7 @@ static void ife_print(struct interface *ptr)
printf(_("txqueuelen:%d "), ptr->tx_queue_len);
printf("\n R");
print_bytes_scaled(ptr->stats.rx_bytes, " T");
- print_bytes_scaled(ptr->stats.rx_bytes, "\n");
+ print_bytes_scaled(ptr->stats.tx_bytes, "\n");
}