diff options
author | Arne Schwabe | 2021-03-17 17:00:36 +0100 |
---|---|---|
committer | Gert Doering | 2021-03-23 09:55:43 +0100 |
commit | 528a78fb144ff6a3d5865c871a402ba98fdfe21e (patch) | |
tree | e8525df52d7644231bed9925ffa147551586afbd /src/openvpn/openvpn.h | |
parent | 1e938c50930f29124909e120a29fb116d4c46576 (diff) | |
download | openvpn-528a78fb144ff6a3d5865c871a402ba98fdfe21e.zip openvpn-528a78fb144ff6a3d5865c871a402ba98fdfe21e.tar.gz |
Move restoring pre pull options to initialising of c2 context
We currently delay restoring these options until we actually must
restore them. Since there is no reason to do so apart from the very
minor saving to not have to execute that code when a connection fails,
move them it into the general context_2 initialisation.
Patch V2: rebase on master.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20210317160038.25828-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21676.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/openvpn.h')
-rw-r--r-- | src/openvpn/openvpn.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/openvpn/openvpn.h b/src/openvpn/openvpn.h index e9bc7da..436c10e 100644 --- a/src/openvpn/openvpn.h +++ b/src/openvpn/openvpn.h @@ -463,7 +463,6 @@ struct context_2 struct event_timeout push_request_interval; time_t push_request_timeout; - bool did_pre_pull_restore; /* hash of pulled options, so we can compare when options change */ bool pulled_options_digest_init_done; |