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

            Bug ID: 287763
           Summary: libxo output for `netstat -ibdn` has duplicate
                    dropped-packets field
           Product: Base System
           Version: 14.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Some interfaces contain duplicate "dropped-packets" field like this in json:

{
  "statistics": {
    "interface": [
      {
        "name": "em0",
        "flags": "0x8843",
        "mtu": 1500,
        "network": "<Link#1>",
        "address": "bc:24:11:b8:0a:10",
        "received-packets": 399822,
        "received-errors": 0,
        "dropped-packets": 0,
        "received-bytes": 289118531,
        "sent-packets": 250121,
        "send-errors": 0,
        "sent-bytes": 130271989,
        "collisions": 0,
        "dropped-packets": 0
      }
    ]
  }
}

And like this in XML:

<statistics>
    <interface>
        <name>em0</name>
        <flags>0x8843</flags>
        <mtu>1500</mtu>
        <network>&lt;Link#2&gt;</network>
        <address>18:60:24:b2:68:0f</address>
        <received-packets>16066413</received-packets>
        <received-errors>0</received-errors>
        <dropped-packets>0</dropped-packets>
        <received-bytes>2620584071</received-bytes>
        <sent-packets>16161076</sent-packets>
        <send-errors>0</send-errors>
        <sent-bytes>4494867156</sent-bytes>
        <collisions>0</collisions>
        <dropped-packets>0</dropped-packets>
    </interface>
</statistics>

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

Reply via email to