Stared at code (simple is good ;-) ). Tested with manually connecting
to a server that pushes --dns and --dhcp-option <things> (DNS and others),
and verifying the output before/after. Same.
Your patch has been applied to the master branch.
commit 654671a10b8f26ed0041ce434016fecb11438aae
Author: Frank Lichtenheld
Date: Mon Jul 28 14:56:41 2025 +0200
options: Simplify function setenv_foreign_option
Signed-off-by: Frank Lichtenheld <[email protected]>
Acked-by: Gert Doering <[email protected]>
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg32396.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel