misc/160320: netstat -f inet6 does not output properly columns
Thiago Damas
tdamas at gmail.com
Tue Aug 30 19:30:11 UTC 2011
>Number: 160320
>Category: misc
>Synopsis: netstat -f inet6 does not output properly columns
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 30 19:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Thiago Damas
>Release: FreeBSD 8.2
>Organization:
>Environment:
FreeBSD jpop01.vetorial.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
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
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list