Haven't tested this for real, but it looks very reasonable.  Just inject
the proper flag on "--dns", the backend data structures are already
filled, we just didn't know that we should use them.

Sanity tested via GHA build.

Your patch has been applied to the master and release/2.6 branch 
(bugfix, --dns functionality not working right on Windows).

commit 60def50420b050e628f4388e3c9ff771eb70a549 (master)
commit 0acba3cc64064841224f7ea4484e4d9715a42897 (HEAD -> release/2.6)
Author: Lev Stipakov
Date:   Wed Nov 15 13:06:23 2023 +0100

     Make --dns options apply for tap-windows6 driver

     Signed-off-by: Lev Stipakov <l...@openvpn.net>
     Acked-by: Frank Lichtenheld <fr...@lichtenheld.com>
     Message-Id: <20231115120623.6442-1-g...@greenie.muc.de>
     URL: 
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27402.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

Reply via email to