From owner-freebsd-current Tue Nov 14 22:13:34 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA19911 for current-outgoing; Tue, 14 Nov 1995 22:13:34 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA19896 for ; Tue, 14 Nov 1995 22:13:31 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id XAA00367; Tue, 14 Nov 1995 23:12:10 -0700 From: Terry Lambert Message-Id: <199511150612.XAA00367@phaeton.artisoft.com> Subject: Re: netstat has been broken for a long time.. To: peter@jhome.DIALix.COM (Peter Wemm) Date: Tue, 14 Nov 1995 23:12:10 -0700 (MST) Cc: current@FreeBSD.org In-Reply-To: from "Peter Wemm" at Nov 15, 95 01:57:54 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 663 Sender: owner-current@FreeBSD.org Precedence: bulk > Hi all... > > I thought netstat was deliberately leaving off the unix^H^H^H^Hlocal > domain sockets unless a switch was specified. I couldn't find which > option it was from the man page, so I looked at the source. > > To my (not so) great suprise, I discovered netstat was accidently > broken... it's nlist()ing the kernel looking for "_unixsw" which was > replaced with "_localsw" and netstat not updated. I thought Garret had renamed this AF_POSIX at one time? I like AF_POSIX -- AF_LOCAL is a letdown. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.