Subject: bin/8130: systat (netstat) stuffup with tcp command
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@primenet.com.au>
List: netbsd-bugs
Date: 08/01/1999 23:10:02
>Number: 8130
>Category: bin
>Synopsis: new tcp command kills netstat tcp command
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 1 22:20:00 1999
>Last-Modified:
>Originator: Geoff C. Wing
>Organization:
Geoff Wing : <gcw@pobox.com> Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org> Ego URL : http://pobox.com/~gcw/
Zsh Stuff : <gcw@zsh.org> Phone : (Australia) 0413 431 874
>Release: 19990801
>Environment:
System: NetBSD c.primenet.com.au 1.4I NetBSD 1.4I (C) #0: Sat Jul 31 17:00:56 EST 1999 mason@primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/C i386
>Description:
Introduction of tcp command ``:tcp'' to systat makes it impossible to
use the netstat mode specific ``:tcp'' command.
From systat(1):
...
netstat
....
protocol Display only network connections using the indicated
protocol (currently either ``tcp'' or ``udp'').
>How-To-Repeat:
Obvious.
>Fix:
1) Rename new (global) ``:tcp'' to something else
or 2) Give netstat a ``:proto'' command.
I'd vote for 1) being backwards compatible.
>Audit-Trail:
>Unformatted: