Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2010 23:46:55 +0000 (UTC)
From:      Ryan Stone <rstone@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r215474 - head/usr.bin/netstat
Message-ID:  <201011182346.oAINktwl048838@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rstone
Date: Thu Nov 18 23:46:55 2010
New Revision: 215474
URL: http://svn.freebsd.org/changeset/base/215474

Log:
  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)
  MFC after:	1 week

Modified:
  head/usr.bin/netstat/if.c

Modified: head/usr.bin/netstat/if.c
==============================================================================
--- head/usr.bin/netstat/if.c	Thu Nov 18 22:17:20 2010	(r215473)
+++ head/usr.bin/netstat/if.c	Thu Nov 18 23:46:55 2010	(r215474)
@@ -627,6 +627,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?201011182346.oAINktwl048838>