Summary: | netstat -i asterisk output missing | ||
---|---|---|---|
Product: | Base System | Reporter: | jyoung15 |
Component: | bin | Assignee: | Gleb Smirnoff <glebius> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | Keywords: | regression |
Priority: | --- | ||
Version: | 10.1-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
jyoung15
2015-05-03 03:22:34 UTC
This isn't trivial now when netstat went to libxo. If I restore the functionality as-is, which is quite trivial, then in JSON or XML output the interface name would be mangled. So, we need asterisk in txt output, but extra field in JSON/XML. Fixed in head. A commit references this bug: Author: glebius Date: Wed May 6 16:43:45 UTC 2015 New revision: 282559 URL: https://svnweb.freebsd.org/changeset/base/282559 Log: Printing interface names: o Restore historical behaviour of appending '*' if interface is down, and we have enough space to print it (usually we don't). [1] o Do not truncate interface names when printing in encoded format. o Report interface flags into encoded format. PR: 199873 [1] Sponsored by: Nginx, Inc. Changes: head/usr.bin/netstat/if.c |