summaryrefslogtreecommitdiffstats
path: root/openvpn.h
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn.h')
-rw-r--r--openvpn.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/openvpn.h b/openvpn.h
index d7e8c56..b850fd0 100644
--- a/openvpn.h
+++ b/openvpn.h
@@ -189,8 +189,8 @@ struct context_1
bool ifconfig_pool_persist_owned;
#endif
- /* if client mode, option strings we pulled from server */
- char *pulled_options_string_save;
+ /* if client mode, hash of option strings we pulled from server */
+ struct md5_digest pulled_options_digest_save;
/* save user/pass for authentication */
struct user_pass *auth_user_pass;
@@ -427,7 +427,11 @@ struct context_2
#endif
struct event_timeout push_request_interval;
- const char *pulled_options_string;
+ bool did_pre_pull_restore;
+
+ /* hash of pulled options, so we can compare when options change */
+ struct md5_state pulled_options_state;
+ struct md5_digest pulled_options_digest;
struct event_timeout scheduled_exit;
#endif