From dan@dan.emsphone.com Fri Apr 16 19:52:58 1999
Return-Path: <dan@dan.emsphone.com>
Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101])
	by hub.freebsd.org (Postfix) with ESMTP id EA33E14C95
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Apr 1999 19:52:57 -0700 (PDT)
	(envelope-from dan@dan.emsphone.com)
Received: (from dan@localhost)
	by dan.emsphone.com (8.9.3/8.9.2) id VAA59838;
	Fri, 16 Apr 1999 21:50:34 -0500 (CDT)
	(envelope-from dan)
Message-Id: <199904170250.VAA59838@dan.emsphone.com>
Date: Fri, 16 Apr 1999 21:50:34 -0500 (CDT)
From: dnelson@emsphone.com (Dan Nelson)
Sender: dan@dan.emsphone.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: IPX interfaces do not align in netstat -i output
X-Send-Pr-Version: 3.2

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 16 20:00:00 PDT 1999
>Closed-Date:    Tue Apr 20 14:58:48 PDT 1999
>Last-Modified:  Tue Apr 20 15:07:22 PDT 1999
>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:
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Tue Apr 20 14:58:48 PDT 1999 
State-Changed-Why:  
updated src/usr.bin/netstat/if.c 
rev1.25 (HEAD) 
rev1.24.2.1 (RELENG_3) 
>Unformatted:
 Dan Nelson
