Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/systat fix "netstat numbers".



details:   https://anonhg.NetBSD.org/src/rev/bd363976273a
branches:  trunk
changeset: 479743:bd363976273a
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Dec 20 17:26:50 1999 +0000

description:
fix "netstat numbers".

diffstat:

 usr.bin/systat/netstat.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 875da4edb77f -r bd363976273a usr.bin/systat/netstat.c
--- a/usr.bin/systat/netstat.c  Mon Dec 20 17:19:13 1999 +0000
+++ b/usr.bin/systat/netstat.c  Mon Dec 20 17:26:50 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netstat.c,v 1.12 1999/12/20 03:45:03 jwise Exp $       */
+/*     $NetBSD: netstat.c,v 1.13 1999/12/20 17:26:50 itojun Exp $      */
 
 /*-
  * Copyright (c) 1980, 1992, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)netstat.c  8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: netstat.c,v 1.12 1999/12/20 03:45:03 jwise Exp $");
+__RCSID("$NetBSD: netstat.c,v 1.13 1999/12/20 17:26:50 itojun Exp $");
 #endif /* not lint */
 
 /*
@@ -495,7 +495,7 @@
 {
        struct netinfo *p;
 
-       if (nflag == 0)
+       if (nflag != 0)
                return;
        
        p = netcb.ni_forw;
@@ -504,7 +504,7 @@
                        continue;
                p->ni_flags |= NIF_LACHG|NIF_FACHG;
        }
-       nflag = 0;
+       nflag = 1;
        wclear(wnd);
        labelnetstat();
        shownetstat();



Home | Main Index | Thread Index | Old Index