Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!blackbush.xlink.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: netstat -f unix - smth wrong ?
Date: 19 Dec 1995 22:49:35 GMT
Organization: Private BSD site, Dresden
Lines: 34
Message-ID: <4b7fhv$6bu@uriah.heep.sax.de>
References: <4ahcej$au7@bilbo.nask.org.pl>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3
jarekb@pap.waw.pl (Jaroslaw Bazydlo) writes:
> NETSTAT does not want to show active AF_UNIX socket. Is that typical ??
This was a bug (actually a very nice one, since it prevented the
display from being bloated by the normally unwanted AF_UNIX entries
:). It happened after the `unix' domain sockets have been renamed to
`local' domain, here's the fix:
Index: main.c
===================================================================
RCS file: /home/cvs/src/usr.bin/netstat/main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- main.c 1995/10/26 20:31:55 1.8
+++ main.c 1995/11/15 14:56:34 1.9
@@ -84,7 +84,7 @@
#define N_RTSTAT 9
{ "_rtstat" },
#define N_UNIXSW 10
- { "_unixsw" },
+ { "_localsw" },
#define N_IDP 11
{ "_nspcb"},
#define N_IDPSTAT 12
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)