NetBSD Problem Report #885
From gnats Mon Mar 20 14:25:21 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id OAA20325 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 20 Mar 1995 14:25:20 -0800
Message-Id: <9503202225.AA04128@leidecker.gsfc.nasa.gov>
Date: Mon, 20 Mar 95 17:25:39 -0500
From: Kenneth Stailey <kstailey@leidecker.gsfc.nasa.gov>
Reply-To: ken@leidecker.gsfc.nasa.gov
To: gnats-bugs@NetBSD.ORG
Subject: netstat -i doesn't line up columns correctly
X-Send-Pr-Version: 3.2
>Number: 885
>Category: misc
>Synopsis: netstat -i doesn't line up columns correctly
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 20 14:35:02 +0000 1995
>Closed-Date: Tue Oct 17 02:56:57 +0000 1995
>Last-Modified: Tue Oct 17 06:58:23 +0000 1995
>Originator: Kenneth Stailey
>Release: March 18th tarballs<NetBSD-current source date>
>Organization:
what's that?
>Environment:
System: NetBSD pluto 1.0A NetBSD 1.0A (PLUTO) #19: Sat Mar 18 16:46:13 EST 1995 ken@pluto:/usr/src/sys/arch/i386/compile/PLUTO i386
>Description:
When I type "netstat -i" I get this:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
ep0 1500 <Link> 0.20.af.9c.dc.ec 144 0 289 0 0
ep0 1500 spacenet.co pluto.spacenet. 144 0 289 0 0
lo0 32768 <Link> 162 0 162 0 0
lo0 32768 127 localhost 162 0 162 0 0
sl0* 296 <Link> 0 0 0 0 0
>How-To-Repeat:
"netstat -i" on my system
>Fix:
in /usr/src/usr.bin/netstat apply this diff:
--- if.c.DIST Thu Mar 9 15:53:51 1995
+++ if.c.new Mon Mar 20 08:47:30 1995
@@ -180,7 +180,7 @@
cp = (char *)LLADDR(sdl);
n = sdl->sdl_alen;
}
- m = printf("%-11.11s ", "<Link>");
+ m = printf("%-11.11s", "<Link>");
goto hexprint;
default:
m = printf("(%d)", sa->sa_family);
--RAA01096.795738092/pluto.spacenet.com--
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Tue Oct 17 02:56:57 1995
State-Changed-Why:
Netstat no longer misaligns columns.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.