]> git.ipfire.org Git - thirdparty/openvpn.git/commit - src/openvpn/options.h
Move NCP saving and restore to the prepush restore code
authorArne Schwabe <arne@rfc2549.org>
Wed, 17 Mar 2021 16:00:37 +0000 (17:00 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 23 Mar 2021 09:45:28 +0000 (10:45 +0100)
commit7064ccb9fd3578c0b25713b1c8e620ad9449f7f4
tree33a577c009f268b800e79196d133b81266209ed5
parent528a78fb144ff6a3d5865c871a402ba98fdfe21e
Move NCP saving and restore to the prepush restore code

This unifies save/restoring options that might be changed by a push
from the server. It also removes using the context_1 to store something
that is not related to a SIGHUP lifetime.

Patch v2: rebase on master.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20210317160038.25828-2-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21674.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/init.c
src/openvpn/openvpn.h
src/openvpn/options.c
src/openvpn/options.h