[Bug 244589] netstat -i -d --libxo json mentions "dropped-packets" twice

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 4 07:56:57 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244589

            Bug ID: 244589
           Summary: netstat -i -d --libxo json mentions "dropped-packets"
                    twice
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: rudolphfroger at dreamsolution.nl

Example output of netstat -i -d --libxo json:

{"statistics": {"interface:
[{"name":"em0","flags":"0x8843","mtu":1500,"network":"<Link#1>","address":"xx:xx:xx:xx:xx:xx","received-packets":13445,"received-errors":0,"dropped-packets":0,"sent-packets":7580,"send-errors":0,"collisions":0,"dropped-packets":0},
etc. etc.

"dropped-packets" is used twice. One is probably for "in" and the other for
"out". Output without libxo:

Name    Mtu Network       Address              Ipkts Ierrs Idrop    Opkts Oerrs
 Coll  Drop
em0    1500 <Link#1>      xx:xx:xx:xx:xx:xx    14803     0     0     8191     0
    0     0
etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list