Commit 7497ee92 authored by Phil Blundell's avatar Phil Blundell

Fix stupid bug in netstat -i.

parent 05b5edad
......@@ -101,7 +101,7 @@ endif
# -------- end of user definitions --------
MAINTAINER = Philip.Blundell@pobox.com
RELEASE = 1.56
RELEASE = 1.57
.EXPORT_ALL_VARIABLES:
......
......@@ -32,7 +32,7 @@ Contents:
Notes
-----
This is net-tools 1.56. Notable changes since 1.55 include:
This is net-tools 1.57. Notable changes since 1.55 include:
- A bug relating to IPv4 alias interfaces has been fixed.
- Support for X.25 and STRIP has been added.
......
......@@ -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"));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment