summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-11-15 14:56:34 +0000
committerpeter <peter@FreeBSD.org>1995-11-15 14:56:34 +0000
commit96e41a571b9c764e2a83813228ceb2531a7cd301 (patch)
tree0cebfc04cf6d7405e84c1be19cfc9d422a643f58 /usr.bin
parente7bb16e4e6be0a947baca9b33227259e5d66087d (diff)
downloadFreeBSD-src-96e41a571b9c764e2a83813228ceb2531a7cd301.zip
FreeBSD-src-96e41a571b9c764e2a83813228ceb2531a7cd301.tar.gz
Fix the bug that caused the AF_UNIX domain sockets to not be shown..
(it was nlist()ing a wrong symbol name). Only problem is that I'd grown quite partial to the inet-only version.. :-)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 47e6943..ed02642 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -84,7 +84,7 @@ struct nlist nl[] = {
#define N_RTSTAT 9
{ "_rtstat" },
#define N_UNIXSW 10
- { "_unixsw" },
+ { "_localsw" },
#define N_IDP 11
{ "_nspcb"},
#define N_IDPSTAT 12
OpenPOWER on IntegriCloud