summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2004-04-26 02:57:33 +0000
committersilby <silby@FreeBSD.org>2004-04-26 02:57:33 +0000
commitbd609915e07121dc82cca7d677c8057f0468b425 (patch)
tree5742a7455236a44332c7e06ee4c3cc71425199ca /usr.bin/netstat
parent051b00be736964ed5c26256aa18bbe6c68ff7922 (diff)
downloadFreeBSD-src-bd609915e07121dc82cca7d677c8057f0468b425.zip
FreeBSD-src-bd609915e07121dc82cca7d677c8057f0468b425.tar.gz
Add the bad reset statistic (corresponds to tcp_input.c rev 1.235)
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/inet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index cf252f3..aa10d27 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -415,6 +415,7 @@ tcp_stats(u_long off __unused, const char *name, int af1 __unused)
p(tcps_accepts, "\t%lu connection accept%s\n");
p(tcps_badsyn, "\t%lu bad connection attempt%s\n");
p(tcps_listendrop, "\t%lu listen queue overflow%s\n");
+ p(tcps_badrst, "\t%lu Ignored RSTs in the window%s\n");
p(tcps_connects, "\t%lu connection%s established (including accepts)\n");
p2(tcps_closed, tcps_drops,
"\t%lu connection%s closed (including %lu drop%s)\n");
OpenPOWER on IntegriCloud