diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-12-18 07:57:19 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-12-18 07:57:19 +0000 |
commit | 4fb4ce12d90abf43f96af67dd308124742b59961 (patch) | |
tree | 00e619d26e38e41cb8f48d93dced3bd7061c6c2e /multi.h | |
parent | Added MultiFileExtract capability to Windows Installer. (diff) | |
download | openvpn-4fb4ce12d90abf43f96af67dd308124742b59961.tar.xz |
Added "nclients" command to management interface to
display the current number of authenticated clients
connected to the server.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3717 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | multi.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |