Source-Changes-HG archive

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

[src/netbsd-2-0]: src/usr.bin/netstat Pull up revision 1.45 (requested by jon...



details:   https://anonhg.NetBSD.org/src/rev/8e9db32d0145
branches:  netbsd-2-0
changeset: 561953:8e9db32d0145
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Jul 14 09:31:32 2004 +0000

description:
Pull up revision 1.45 (requested by jonathan in ticket #647):
Temporary hack to fix ipsec stats lossage. Atatat, are you listening?

diffstat:

 usr.bin/netstat/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d214b89661e2 -r 8e9db32d0145 usr.bin/netstat/main.c
--- a/usr.bin/netstat/main.c    Wed Jul 14 09:31:10 2004 +0000
+++ b/usr.bin/netstat/main.c    Wed Jul 14 09:31:32 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.43.2.1 2004/05/10 15:00:06 tron Exp $       */
+/*     $NetBSD: main.c,v 1.43.2.2 2004/07/14 09:31:32 tron Exp $       */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "from: @(#)main.c       8.4 (Berkeley) 3/1/94";
 #else
-__RCSID("$NetBSD: main.c,v 1.43.2.1 2004/05/10 15:00:06 tron Exp $");
+__RCSID("$NetBSD: main.c,v 1.43.2.2 2004/07/14 09:31:32 tron Exp $");
 #endif
 #endif /* not lint */
 
@@ -642,7 +642,7 @@
        if (af == PF_KEY || af == AF_UNSPEC)
                for (tp = pfkeyprotox; tp->pr_name; tp++)
                        printproto(tp, tp->pr_name);
-       ipsec_switch(0, "fast ipsec");
+       ipsec_switch(nl[N_IPSECSTAT].n_value, "fast ipsec");
 #endif
 #ifndef SMALL
        if (af == AF_APPLETALK || af == AF_UNSPEC)



Home | Main Index | Thread Index | Old Index