diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-12-26 16:29:28 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-12-26 16:29:28 +0000 |
commit | 60d9e1375aedfa585e997f88b675157581ab736c (patch) | |
tree | 0568e5e431e16ef057c7fa4d9322fec9b4050ad0 /manage.c | |
parent | 1f4309ae8722dd6c19e7cc39c011eb7f715b87e2 (diff) | |
download | openvpn-60d9e1375aedfa585e997f88b675157581ab736c.tar.gz openvpn-60d9e1375aedfa585e997f88b675157581ab736c.tar.xz openvpn-60d9e1375aedfa585e997f88b675157581ab736c.zip |
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 'manage.c')
-rw-r--r-- | manage.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |