Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 1999 21:50:34 -0500 (CDT)
From:      dnelson@emsphone.com (Dan Nelson)
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/11179: IPX interfaces do not align in netstat -i output
Message-ID:  <199904170250.VAA59838@dan.emsphone.com>

next in thread | raw e-mail | index | archive | help

>Number:         11179
>Category:       bin
>Synopsis:       IPX interfaces do not align in netstat -i output
>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:   Fri Apr 16 20:00:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Dan Nelson
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Executive Marketing Services, Inc.
>Environment:

FreeBSD dan.emsphone.com 4.0-CURRENT FreeBSD 4.0-CURRENT #3: Fri Apr 16 11:37:54 CDT 1999     dan@dan.emsphone.com:/usr/src/sys/compile/DAN  i386

>Description:

Any column in "netstat -i" output describing an IPX interface is
misaligned by one character.

>How-To-Repeat:

$ netstat -i

Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
fxp0  1500  <Link>      00.a0.c9.65.3b.6c 13295116     5 10623591     0 35947
fxp0  1500  199.67.51     dan             13295116     5 10623591     0 35947
fxp0  1500  ipx:a2       a0c9653b6c      13295116     5 10623591     0 35947
lo0   16384 <Link>                           72601     0    72601     0     0
lo0   16384 127           localhost          72601     0    72601     0     0
lo0   16384 ipx:f4eeb5d1 1                  72601     0    72601     0     0

>Fix:
	
Index: if.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/netstat/if.c,v
retrieving revision 1.24
diff -r1.24 if.c
200c200
< 				printf("ipx:%-8s ", netnum);
---
> 				printf("ipx:%-8s  ", netnum);


>Release-Note:
>Audit-Trail:
>Unformatted:
 Dan Nelson


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904170250.VAA59838>