Use kvm_counter_u64_fetch() to fix obtaining ipstat and tcpstat from
authorglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 Apr 2013 20:29:23 +0000 (20:29 +0000)
committerglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 Apr 2013 20:29:23 +0000 (20:29 +0000)
commit057f1af9555aa2d0111d156ec5c51b03d2c5433d
tree60c79ab7327265f2bed643c9aafe36baf2ee239d
parent927303a275ed97a1ec2b84c93205e43f60804083
Use kvm_counter_u64_fetch() to fix obtaining ipstat and tcpstat from
kernel core files.

Sponsored by: Nginx, Inc.

git-svn-id: svn://svn.freebsd.org/base/head@249345 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/netstat/inet.c
usr.bin/netstat/main.c
usr.bin/netstat/netstat.h