summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-02-29 14:17:52 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-02-29 14:17:52 +0000
commit60cb6980030648d5c0666e35c90dcc1bd923ab76 (patch)
treea66731e995fc77b990c7b23b25aa6d0795688ba0 /usr.bin
parent0a3a0f680a538af4df319ee167c15bd681d4ce10 (diff)
print tcps_conndrained; reminder from mcbride@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/inet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index c43e7e6edac..3939d5cd5c2 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet.c,v 1.82 2004/02/26 19:38:41 markus Exp $ */
+/* $OpenBSD: inet.c,v 1.83 2004/02/29 14:17:51 markus Exp $ */
/* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-static const char *rcsid = "$OpenBSD: inet.c,v 1.82 2004/02/26 19:38:41 markus Exp $";
+static const char *rcsid = "$OpenBSD: inet.c,v 1.83 2004/02/29 14:17:51 markus Exp $";
#endif
#endif /* not lint */
@@ -312,6 +312,7 @@ tcp_stats(u_long off, char *name)
p(tcps_connects, "\t%u connection%s established (including accepts)\n");
p2(tcps_closed, tcps_drops,
"\t%u connection%s closed (including %u drop%s)\n");
+ p(tcps_conndrained, "\t%qd connection%s drained\n");
p(tcps_conndrops, "\t%u embryonic connection%s dropped\n");
p2(tcps_rttupdated, tcps_segstimed,
"\t%u segment%s updated rtt (of %u attempt%s)\n");