]> git.ipfire.org Git - thirdparty/openvpn.git/commit
tun.c: enclose DNS domain in single quotes in WMIC call
authorLev Stipakov <lev@openvpn.net>
Mon, 10 Jul 2023 11:21:22 +0000 (14:21 +0300)
committerGert Doering <gert@greenie.muc.de>
Tue, 11 Jul 2023 19:25:06 +0000 (21:25 +0200)
commitaceecaef79cd2dae5265e328874ee8263ac79492
tree113ffde40797854c9e75a234e9dad8e8efa6a4b5
parent66f51e80b981f08ebc3c38f3fac7d0c88caeb85d
tun.c: enclose DNS domain in single quotes in WMIC call

This is needed to support domains with hyphens.

Not using double quotes here, since our code replaces
them with underbars (see
https://github.com/OpenVPN/openvpn/blob/master/src/openvpn/win32.c#L980).

Github: fixes OpenVPN/openvpn#363

Change-Id: Iab536922d0731635cef529b5caf542f637b8d491
Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <20230710112122.576-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26841.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 4057814a8a783d4fb1475f49f073f6b3a7797677)
src/openvpn/tun.c