[Bug 266474] Column truncated -- netstat routing table output

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Sep 2022 01:33:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266474

            Bug ID: 266474
           Summary: Column truncated -- netstat routing table output
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: pprocacci@gmail.com

The Netif column is truncated.
In my case, I have vlans that are 4 digits.  This output is cutting off the
last digit.


root@nas:~ # ifconfig -g vlan
igb0.1004
igb0.1208
igb0.1616
igb0.1843


root@nas:~ # netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            192.168.255.161    UGS        igb0
127.0.0.1          link#3             UH          lo0
192.168.255.128/27 link#7             U      igb0.100
192.168.255.158    link#7             UHS         lo0
192.168.255.160/28 link#1             U          igb0
192.168.255.164    link#1             UHS         lo0
192.168.255.176/28 link#8             U      igb0.120
192.168.255.183    link#8             UHS         lo0
192.168.255.208/28 link#9             U      igb0.161
192.168.255.211    link#9             UHS         lo0
192.168.255.224/28 link#10            U      igb0.184
192.168.255.230    link#10            UHS         lo0

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