From 60d9e1375aedfa585e997f88b675157581ab736c Mon Sep 17 00:00:00 2001 From: james Date: Fri, 26 Dec 2008 16:29:28 +0000 Subject: 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 --- options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'options.c') diff --git a/options.c b/options.c index e5cc0f2..9ca146f 100644 --- a/options.c +++ b/options.c @@ -795,6 +795,8 @@ setenv_settings (struct env_set *es, const struct options *o) setenv_int (es, "verb", o->verbosity); setenv_int (es, "daemon", o->daemon); setenv_int (es, "daemon_log_redirect", o->log); + setenv_unsigned (es, "daemon_start_time", time(NULL)); + setenv_int (es, "daemon_pid", openvpn_getpid()); #ifdef ENABLE_CONNECTION if (o->connection_list) -- cgit v1.2.3