Subject: bin/7955: "route show" truncates output
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: netbsd-bugs
Date: 07/10/1999 07:05:45
>Number:         7955
>Category:       bin
>Synopsis:       "route show" truncates output
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 10 07:05:01 1999
>Last-Modified:
>Originator:     Hubert Feyrer
>Organization:
NetBSD - Better for your uptime than Viagra
>Release:        19990708
>Environment:
	
Systems:
NetBSD nc 1.4D NetBSD 1.4D (NC.v6) #0: Sat Jul  3 21:38:12 MEST 1999     feyrer@nc:/tmp_mnt/miyu/data/cvs/src/sys/arch/arm32/compile/NC.v6 arm32
NetBSD rfhs8012 1.4D NetBSD 1.4D (RFHS8012.v6) #0: Sat Jul  3 03:33:10 MEST 1999     feyrer@rfhs8012:/tmp_mnt/miyu/data/cvs/src/sys/arch/sparc/compile/RFHS8012.v6 sparc


>Description:
	"route show" truncate ipv6 addresses, while "netstat -ran" prints them ok:

nc% netstat -ran | grep ^ff
ff01::/32                    ::1                        U           0        0  32976  lo0
ff02:1::/32                  link#1                     UC          0        0   1500  cs0
ff02:2::/32                  fe80:2::1                  UC          0        0  32976  lo0
ff02:4::/32                  fe80:4::800:2bff:fe81:63ac UC          0        0   1280  gif0
ff02:5::/32                  fe80:5::800:2bff:fe81:63ac UC          0        0   1280  gif1
ff02:6::/32                  fe80:6::800:2bff:fe81:63ac UC          0        0   1280  gif2
ff02:7::/32                  fe80:7::800:2bff:fe81:63ac UC          0        0   1280  gif3
ff02:8::/32                  fe80:8::800:2bff:fe81:63ac UC          0        0   1500  faith0
nc% route show | grep ^ff
ff01::           ::1                U
ff02:1::         link#1             U
ff02:2::         fe80:2::1          U
ff02:4::         fe80:4::800:2bff:f U
ff02:5::         fe80:5::800:2bff:f U
ff02:6::         fe80:6::800:2bff:f U
ff02:7::         fe80:7::800:2bff:f U
ff02:8::         fe80:8::800:2bff:f U
 

>How-To-Repeat:
	See above.

>Fix:
	no idea.
>Audit-Trail:
>Unformatted: