[Bug 215682] Netstat --libxo invalid data output for tcp6 and udp6 socket ports using json/xml modes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 31 10:24:38 UTC 2016


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

            Bug ID: 215682
           Summary: Netstat --libxo invalid data output for tcp6 and udp6
                    socket ports using json/xml modes
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: hile at iki.fi

When displaying netstat details with libxo in JSON or XML modes, the value
conversion for tcp6 and udp6 port numbers drops last digit. 

For example, in output of netstat -an --libxo=json, port 514 for udp6 is shown
as 51, and tcp6 port 22 is shown as 2. This same issue applies to --libxo=xml
but not to for example html output.

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


More information about the freebsd-bugs mailing list