]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r272284
authorrstone <rstone@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 1 Mar 2015 04:36:20 +0000 (04:36 +0000)
committerrstone <rstone@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 1 Mar 2015 04:36:20 +0000 (04:36 +0000)
commit6d305264ed3f1c2b561701894822aa8361bdc97e
tree2279cce5127acad27ad30b80dd09913663ced4da
parent573c5d2fc25814212f77e36a18b70cd5e902c07e
MFC r272284

   Fix integer truncation in affecting systat -ifstat

   The "systat -ifstat" command was using a u_int to store byte counters.
   With a 10Gbps or faster interface, this overflows within the default
   5 second refresh period.  Switch to using a uint64_t across the board,
   which matches the size used for all counters as of r263102.

   PR:           182448
   MFC after:    1 week
   Sponsored by: Sandvine Inc

git-svn-id: svn://svn.freebsd.org/base/stable/10@279473 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/systat/ifstat.c