Date: Thu, 25 Nov 2010 18:32:02 +0000 (UTC) From: Ryan Stone <rstone@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r215827 - stable/8/usr.bin/netstat Message-ID: <201011251832.oAPIW24K013702@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rstone Date: Thu Nov 25 18:32:02 2010 New Revision: 215827 URL: http://svn.freebsd.org/changeset/base/215827 Log: MFC 215474 When netstat was run with -i/-I and -w1 to produce running counters, the idrop field printed an absolute value rather than the delta from the last value Approved by: emaste (mentor) Modified: stable/8/usr.bin/netstat/if.c Directory Properties: stable/8/usr.bin/netstat/ (props changed) Modified: stable/8/usr.bin/netstat/if.c ============================================================================== --- stable/8/usr.bin/netstat/if.c Thu Nov 25 18:27:59 2010 (r215826) +++ stable/8/usr.bin/netstat/if.c Thu Nov 25 18:32:02 2010 (r215827) @@ -633,6 +633,7 @@ loop: } ip->ift_ip = ifnet.if_ipackets; ip->ift_ie = ifnet.if_ierrors; + ip->ift_id = ifnet.if_iqdrops; ip->ift_ib = ifnet.if_ibytes; ip->ift_op = ifnet.if_opackets; ip->ift_oe = ifnet.if_oerrors;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011251832.oAPIW24K013702>