Avoid double open
authorPhil Blundell <philb@gnu.org>
Wed, 17 Mar 1999 13:04:54 +0000 (13:04 +0000)
committerPhil Blundell <philb@gnu.org>
Wed, 17 Mar 1999 13:04:54 +0000 (13:04 +0000)
README
netstat.c

diff --git a/README b/README
index cfd3f05..14073eb 100644 (file)
--- a/README
+++ b/README
@@ -45,7 +45,7 @@ Notable changes since 1.49 include:
  - netstat -s is improved.
  - route/netstat -r display the routing cache correctly.
  - plipconfig and slattach are included
- - ipaddr and iptunnel are included (courtesy of Alexey Kuznetsov)
+ - ipmaddr and iptunnel are included (courtesy of Alexey Kuznetsov)
  - as ever, various bugs have been fixed
 
 Notable changes since 1.48 include:
index 9d3f8e2..e3c9d50 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.22 1999/03/03 21:43:06 philip Exp $
+ * Version:     $Id: netstat.c,v 1.23 1999/03/17 13:04:57 philip Exp $
  *
  * Authors:     Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de>
  *              Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
@@ -1139,7 +1139,7 @@ static int unix_info(void)
 #if HAVE_AFAX25
 static int ax25_info(void)
 {
-    FILE *f = fopen(_PATH_PROCNET_AX25, "r");
+    FILE *f;
     char buffer[256], buf[16];
     char *src, *dst, *dev, *p;
     int st, vs, vr, sendq, recvq, ret;