From 60cb6980030648d5c0666e35c90dcc1bd923ab76 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Sun, 29 Feb 2004 14:17:52 +0000 Subject: print tcps_conndrained; reminder from mcbride@ --- usr.bin/netstat/inet.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/netstat/inet.c') 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"); -- cgit v1.2.3