summaryrefslogtreecommitdiffstats
path: root/multi.h
diff options
context:
space:
mode:
Diffstat (limited to 'multi.h')
-rw-r--r--multi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/multi.h b/multi.h
index 7c33d87..55119d6 100644
--- a/multi.h
+++ b/multi.h
@@ -83,6 +83,7 @@ struct multi_instance {
#endif
bool connection_established_flag;
bool did_iroutes;
+ int n_clients_delta; /* added to multi_context.n_clients when instance is closed */
struct context context;
};
@@ -114,6 +115,7 @@ struct multi_context {
int max_clients;
int tcp_queue_limit;
int status_file_version;
+ int n_clients; /* current number of authenticated clients */
#ifdef MANAGEMENT_DEF_AUTH
struct hash *cid_hash;