Date: Sat, 31 Dec 2016 10:24:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 215682] Netstat --libxo invalid data output for tcp6 and udp6 socket ports using json/xml modes Message-ID: <bug-215682-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215682 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@FreeBSD.org Reporter: hile@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.=20 For example, in output of netstat -an --libxo=3Djson, port 514 for udp6 is = shown as 51, and tcp6 port 22 is shown as 2. This same issue applies to --libxo= =3Dxml but not to for example html output. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215682-8>