]> git.ipfire.org Git - thirdparty/openvpn.git/commit
PUSH_UPDATE: Added update_option() function.
authorMarco Baffo <marco@mandelbit.com>
Tue, 29 Jul 2025 10:41:01 +0000 (12:41 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 29 Jul 2025 13:36:07 +0000 (15:36 +0200)
commitdd9c6978ec851213deece9229e413d44d0289cad
tree78f1c53a249594809378058f1da7915c631c3a74
parent73f3247e89bd66fa0b5142e3e1773951f6c3cba0
PUSH_UPDATE: Added update_option() function.

When the function receives an option to update, it first checks whether it has
already received an option of the same type within the same update message.
If it has already received it, it simply calls add_option(), otherwise it
deletes all the values already present for that option first.

Change-Id: Ia45c99e6df7b3ad24020c10b8a9b3577984ecdc2
Signed-off-by: Marco Baffo <marco@mandelbit.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20250729104110.27704-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32408.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c