aboutsummaryrefslogtreecommitdiff
path: root/manage.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-12-26 16:29:28 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-12-26 16:29:28 +0000
commit60d9e1375aedfa585e997f88b675157581ab736c (patch)
tree0568e5e431e16ef057c7fa4d9322fec9b4050ad0 /manage.c
parentFixed issue where SIGUSR1 restarts would fail if private (diff)
downloadopenvpn-60d9e1375aedfa585e997f88b675157581ab736c.tar.xz
Added daemon_start_time and daemon_pid environmental variables.
In management interface, added new ">CLIENT:ESTABLISHED" notification. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3763 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--manage.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/manage.c b/manage.c
index a9878c6..cff4348 100644
--- a/manage.c
+++ b/manage.c
@@ -2115,9 +2115,13 @@ management_notify_client_needing_auth (struct management *management,
void
management_connection_established (struct management *management,
- struct man_def_auth_context *mdac)
+ struct man_def_auth_context *mdac,
+ const struct env_set *es)
{
mdac->flags |= DAF_CONNECTION_ESTABLISHED;
+ msg (M_CLIENT, ">CLIENT:ESTABLISHED,%lu", mdac->cid);
+ man_output_extra_env (management);
+ man_output_env (es, true);
}
void