]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: 292394
authorgnn <gnn@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Jan 2016 19:52:17 +0000 (19:52 +0000)
committergnn <gnn@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Jan 2016 19:52:17 +0000 (19:52 +0000)
commitbd6263500e504492d9e732dc06a1150cef38b69c
treefe8525ad34d24cd26d56e6ae966eedd33ffdc6ea
parent38580e661e3aab1d07c885eda04e885368ce90c2
MFC: 292394

Switch the IPsec related statistics to using the built in sysctl
variable set rather than reading from kernel memory.
This also makes the -z (zero) flag work correctly

Sponsored by: Rubicon Communications, LLC (Netgate)

git-svn-id: svn://svn.freebsd.org/base/stable/10@293344 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/netstat/ipsec.c
usr.bin/netstat/main.c