aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2000-05-28 15:19:15 +0000
committerPhil Blundell <philb@gnu.org>2000-05-28 15:19:15 +0000
commit7497ee928e437adf226f65960e6905373ce1eecc (patch)
tree2f1fb89460d2555eabe74db4d055309d0d720617 /netstat.c
parentnet-tools 1.56 (diff)
downloadnet-tools-7497ee928e437adf226f65960e6905373ce1eecc.tar.gz
net-tools-7497ee928e437adf226f65960e6905373ce1eecc.tar.bz2
net-tools-7497ee928e437adf226f65960e6905373ce1eecc.zip
Fix stupid bug in netstat -i.
Diffstat (limited to 'netstat.c')
-rw-r--r--netstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/netstat.c b/netstat.c
index f8e75a7..2aee1a5 100644
--- a/netstat.c
+++ b/netstat.c
@@ -6,7 +6,7 @@
* NET-3 Networking Distribution for the LINUX operating
* system.
*
- * Version: $Id: netstat.c,v 1.37 2000/05/21 19:35:34 pb Exp $
+ * Version: $Id: netstat.c,v 1.38 2000/05/28 15:19:15 pb Exp $
*
* Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de>
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
@@ -1433,7 +1433,7 @@ static int iface_info(void)
}
printf(_("Kernel Interface table\n"));
}
- if (!flag_exp) {
+ if (flag_exp < 2) {
ife_short = 1;
printf(_("Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg\n"));
}