diff options
| author | itojun <itojun@NetBSD.org> | 2000-07-16 03:07:20 +0000 |
|---|---|---|
| committer | itojun <itojun@NetBSD.org> | 2000-07-16 03:07:20 +0000 |
| commit | f39d44cbafcc55478fcd1d51ec960e39a2af2a8b (patch) | |
| tree | c34e85986f046e4f5b3158785e5155b6be2fb23d | |
| parent | 4678acf4ff99635cf699770d66ad71eb90415ffd (diff) | |
repair inet6.ip6 stat (broken in 1.4 -> 1.5).
| -rw-r--r-- | usr.bin/systat/ip6.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/systat/ip6.c b/usr.bin/systat/ip6.c index f0311aafa4d..3c0f2adfe61 100644 --- a/usr.bin/systat/ip6.c +++ b/usr.bin/systat/ip6.c @@ -1,4 +1,4 @@ -/* $NetBSD: ip6.c,v 1.6 2000/07/13 11:07:34 itojun Exp $ */ +/* $NetBSD: ip6.c,v 1.7 2000/07/16 03:07:20 itojun Exp $ */ /* * Copyright (c) 1999, 2000 Andrew Doran <ad@NetBSD.org> @@ -29,7 +29,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: ip6.c,v 1.6 2000/07/13 11:07:34 itojun Exp $"); +__RCSID("$NetBSD: ip6.c,v 1.7 2000/07/16 03:07:20 itojun Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -211,6 +211,8 @@ void fetchip6(void) { + KREAD((void *)namelist[0].n_value, &newstat, sizeof(newstat)); + ADJINETCTR(curstat, oldstat, newstat, ip6s_total); ADJINETCTR(curstat, oldstat, newstat, ip6s_toosmall); ADJINETCTR(curstat, oldstat, newstat, ip6s_tooshort); |
