summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/inet6.c
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2013-07-09 09:54:54 +0000
committerae <ae@FreeBSD.org>2013-07-09 09:54:54 +0000
commite5b002a3b846f3fa0b14374e1b0d808d000cdc8d (patch)
tree4dab69938b5c5c45e03f05d5cea4786a9c644184 /usr.bin/netstat/inet6.c
parent705a50a05300cbec6176269dfe8b9e5ae0b12dab (diff)
downloadFreeBSD-src-e5b002a3b846f3fa0b14374e1b0d808d000cdc8d.zip
FreeBSD-src-e5b002a3b846f3fa0b14374e1b0d808d000cdc8d.tar.gz
Migrate structs ip6stat, icmp6stat and rip6stat to PCPU counters.
Diffstat (limited to 'usr.bin/netstat/inet6.c')
-rw-r--r--usr.bin/netstat/inet6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c
index 25ab5a7..a3bbc31 100644
--- a/usr.bin/netstat/inet6.c
+++ b/usr.bin/netstat/inet6.c
@@ -376,7 +376,7 @@ ip6_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
return;
}
} else
- kread(off, &ip6stat, len);
+ kread_counters(off, &ip6stat, len);
printf("%s:\n", name);
@@ -858,7 +858,7 @@ icmp6_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
return;
}
} else
- kread(off, &icmp6stat, len);
+ kread_counters(off, &icmp6stat, len);
printf("%s:\n", name);
@@ -1052,7 +1052,7 @@ rip6_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
return;
}
} else
- kread(off, &rip6stat, len);
+ kread_counters(off, &rip6stat, len);
printf("%s:\n", name);
OpenPOWER on IntegriCloud