summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-03-09 20:59:23 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-03-09 20:59:23 +0000
commit2f472db8d99d36d0895060a59c1036e6899db321 (patch)
tree68620cff0c97d71a854aa9e2554023a0625c8138 /usr.sbin/smtpd/smtpd.h
parent30661a820dc3d7d2f740a4ae47e8ee4dd58fc008 (diff)
smtpctl show stats displays inet4/inet6 repartition for incoming sessions
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 68546616b91..dffecd947bb 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.200 2010/11/29 15:25:56 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.201 2011/03/09 20:59:22 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -653,6 +653,8 @@ struct s_runner {
struct s_session {
size_t sessions;
+ size_t sessions_inet4;
+ size_t sessions_inet6;
size_t sessions_active;
size_t sessions_maxactive;