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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to