summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpctl.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-01-30 21:52:56 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-01-30 21:52:56 +0000
commit3227121c77a9f3359c21cefe580a085c77bf3c9e (patch)
tree9e14d65fb6a53725a26be07d9358a6b5cdd06edb /usr.sbin/smtpd/smtpctl.c
parent8452589c8ddef50efc571850d1c840f2f09e4ed9 (diff)
when decreasing ssl related counters, make sure the session was flagged as
F_SECURE. while at it, add "smtp.sessions.aborted" which keeps track of sessions which were interrupted before completion.
Diffstat (limited to 'usr.sbin/smtpd/smtpctl.c')
-rw-r--r--usr.sbin/smtpd/smtpctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c
index 34d49d3a9ef..cd465cac18f 100644
--- a/usr.sbin/smtpd/smtpctl.c
+++ b/usr.sbin/smtpd/smtpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpctl.c,v 1.11 2009/01/30 21:40:21 gilles Exp $ */
+/* $OpenBSD: smtpctl.c,v 1.12 2009/01/30 21:52:55 gilles Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -279,6 +279,7 @@ show_stats_output(struct imsg *imsg)
printf("runner.active = %zd\n", s_runner.active);
printf("smtp.sessions = %zd\n", s_smtp.sessions);
+ printf("smtp.sessions.aborted = %zd\n", s_smtp.aborted);
printf("smtp.sessions.active = %zd\n", s_smtp.sessions_active);
printf("smtp.sessions.ssmtp = %zd\n", s_smtp.ssmtp);
printf("smtp.sessions.ssmtp.active = %zd\n", s_smtp.ssmtp_active);