summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/unix.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2015-08-24 15:55:53 +0000
committerbluhm <bluhm@openbsd.org>2015-08-24 15:55:53 +0000
commit8b012e5c32468048e2500de3479e12720778971b (patch)
tree040ad249c15925122e4fd027a301bb17c8dd9ace /usr.bin/netstat/unix.c
parentRename the syn cache counter into tcp_syn_cache_count to have the (diff)
downloadwireguard-openbsd-8b012e5c32468048e2500de3479e12720778971b.tar.xz
wireguard-openbsd-8b012e5c32468048e2500de3479e12720778971b.zip
Remove obsolete fields in struct unpcb. In the past they were used
for flow control with unix domain sockets, this is now done by filling the send buffer with fake data counters. OK naddy@; no fallout in a bulk build
Diffstat (limited to 'usr.bin/netstat/unix.c')
-rw-r--r--usr.bin/netstat/unix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c
index c6776e5e7d6..2bb4c2c0d0a 100644
--- a/usr.bin/netstat/unix.c
+++ b/usr.bin/netstat/unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unix.c,v 1.27 2015/04/22 18:07:32 bluhm Exp $ */
+/* $OpenBSD: unix.c,v 1.28 2015/08/24 15:55:53 bluhm Exp $ */
/* $NetBSD: unix.c,v 1.13 1995/10/03 21:42:48 thorpej Exp $ */
/*-
@@ -117,8 +117,6 @@ unpcb_dump(u_long off)
p("%u", unp_connid.uid, ", ");
p("%u", unp_connid.gid, ", ");
p("%d", unp_connid.pid, "\n ");
- p("%d", unp_cc, ", ");
- p("%d", unp_mbcnt, "\n ");
pll("%lld", unp_ctime.tv_sec, ", ");
p("%ld", unp_ctime.tv_nsec, "\n");
#undef p