diff options
author | Mike Karels <karels@FreeBSD.org> | 2022-07-02 16:03:36 +0000 |
---|---|---|
committer | Mike Karels <karels@FreeBSD.org> | 2022-07-13 13:20:03 +0000 |
commit | 913ebccc8e16c74126728faeafda5139f3784cdc (patch) | |
tree | 28b5aa8ac1770c4a7e976ffb56d296b2133cc1aa /Makefile.inc1 | |
parent | 6fddab804a17762d4f77bc92725ded7bbee5789a (diff) | |
download | src-913ebccc8e16c74126728faeafda5139f3784cdc.tar.gz src-913ebccc8e16c74126728faeafda5139f3784cdc.zip |
netstat -i: do not truncate interface names
The field for interface names for netstat -i was 5 characters by
default, which is no longer sufficient with names like "vlan1234"
and "vtnet0". netstat -iW computed the necessary field width, but
also enlarged the address field by a lot (especially with IPv6 enabled).
Make netstat -i compute the field width for interface names with or
without -W. Note that the existing default output does not fit in
80 columns in any case. Update the man page accordingly, documenting
the remaining effect of -W with -i. Also add -W to the list of
General Options, as there are numerous pointers to this.
Reported by: Chris Ross
Reviewed by: melifaro, rgrimes, cy
Differential Revision: https://reviews.freebsd.org/D35703
(cherry picked from commit 231092bb6fda75b922fc324edef6523e78e9e8ed)
Diffstat (limited to 'Makefile.inc1')
0 files changed, 0 insertions, 0 deletions