Bug 160320 - netstat(1): netstat -f inet6 does not output properly columns
Summary: netstat(1): netstat -f inet6 does not output properly columns
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 20:30 UTC by Thiago Damas
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Damas 2011-08-30 20:30:11 UTC
  When using netstat -f inet6, it doesnt output columns properly, if not using '-n' together

jpop01# netstat -f inet6 -r
Routing tables

Internet6:
Destination        Gateway            Flags      Netif Expire
::                 localhost          UGRS        lo0 =>
default            fe80::20c:42ff:fe5 UG          em0
localhost          localhost          UH          lo0
::ffff:0.0.0.0     localhost          UGRS        lo0
fe80::             localhost          UGRS        lo0
fe80::%em0         link#1             U           em0
fe80::230:48ff:fee link#1             UHS         lo0
fe80::%lo0         link#3             U           lo0
fe80::1%lo0        link#3             UHS         lo0
ff01:1::           fe80::230:48ff:fee U           em0
ff01:3::           localhost          U           lo0
ff02::             localhost          UGRS        lo0
ff02::%em0         fe80::230:48ff:fee U           em0
ff02::%lo0         localhost          U           lo0


jpop01# netstat -f inet6 -rn
Routing tables

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::/96                             ::1                           UGRS        lo0 =>
default                           fe80::20c:42ff:fe54:78ee%em0  UG          em0
::1                               ::1                           UH          lo0
::ffff:0.0.0.0/96                 ::1                           UGRS        lo0
fe80::/10                         ::1                           UGRS        lo0
fe80::%em0/64                     link#1                        U           em0
fe80::230:48ff:fee4:2425%em0      link#1                        UHS         lo0
fe80::%lo0/64                     link#3                        U           lo0
fe80::1%lo0                       link#3                        UHS         lo0
ff01:1::/32                       fe80::230:48ff:fee4:2425%em0  U           em0
ff01:3::/32                       ::1                           U           lo0
ff02::/16                         ::1                           UGRS        lo0
ff02::%em0/32                     fe80::230:48ff:fee4:2425%em0  U           em0
ff02::%lo0/32                     ::1                           U           lo0
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:24 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped