diff options
author | rstone <rstone@FreeBSD.org> | 2010-11-18 23:46:55 +0000 |
---|---|---|
committer | rstone <rstone@FreeBSD.org> | 2010-11-18 23:46:55 +0000 |
commit | 562d278523a62b2568bd70c090839f79db28f06c (patch) | |
tree | 21ed693938cdaba32eb0ededfdc3c027635db4c7 /usr.bin | |
parent | 6377f0ee1a5b88682c352cae417eba695645e0b5 (diff) | |
download | FreeBSD-src-562d278523a62b2568bd70c090839f79db28f06c.zip FreeBSD-src-562d278523a62b2568bd70c090839f79db28f06c.tar.gz |
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
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/if.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index b346654..2965cae 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -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; |