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 <fr...@lichtenheld.com> Acked-by: Gert Doering <g...@greenie.muc.de> Message-Id: <20250728125647.26992-1-g...@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32396.html Signed-off-by: Gert Doering <g...@greenie.muc.de> -- kind regards, Gert Doering _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel