Fix stupid bug in netstat -i.
authorPhil Blundell <philb@gnu.org>
Sun, 28 May 2000 15:19:15 +0000 (15:19 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 28 May 2000 15:19:15 +0000 (15:19 +0000)
Makefile
README
netstat.c

index 44d970d..cc764a2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,7 @@ endif
 # -------- end of user definitions --------
 
 MAINTAINER = Philip.Blundell@pobox.com
-RELEASE           = 1.56
+RELEASE           = 1.57
 
 .EXPORT_ALL_VARIABLES:
 
diff --git a/README b/README
index 01e9cef..4ec4a25 100644 (file)
--- a/README
+++ b/README
@@ -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.
index f8e75a7..2aee1a5 100644 (file)
--- 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"));
     }