summaryrefslogtreecommitdiffstats
path: root/openvpn.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-12-22 18:09:40 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-12-22 18:09:40 +0000
commita9c802b2a3f77f2b906e22f582681cdec0790c32 (patch)
treebef37f7bb1a685d9d0b8983016668019721dc588 /openvpn.h
parenta67724cb6dc227a781b76d5c7baaaeacbf395f01 (diff)
downloadopenvpn-a9c802b2a3f77f2b906e22f582681cdec0790c32.tar.gz
openvpn-a9c802b2a3f77f2b906e22f582681cdec0790c32.tar.xz
openvpn-a9c802b2a3f77f2b906e22f582681cdec0790c32.zip
--ip-win32 adaptive is now the default.
--ip-win32 netsh (or --ip-win32 adaptive when in netsh mode) can now set DNS/WINS addresses on the TAP-Win32 adapter. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@857 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'openvpn.h')
-rw-r--r--openvpn.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/openvpn.h b/openvpn.h
index 437a02f..3ddc1a7 100644
--- a/openvpn.h
+++ b/openvpn.h
@@ -117,6 +117,14 @@ struct context_buffers
struct buffer read_tun_buf;
};
+/*
+ * always-persistent context variables
+ */
+struct context_persist
+{
+ int restart_sleep_seconds;
+};
+
/*
* level 0 context contains data related to
* once-per OpenVPN instantiation events
@@ -461,6 +469,9 @@ struct context
/* set to true after we daemonize */
bool did_we_daemonize;
+ /* persistent across SIGHUP */
+ struct context_persist persist;
+
/* level 0 context contains data related to
once-per OpenVPN instantiation events
such as daemonization */