mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 12:12:15 +02:00
omiclient: support for wintun driver
Use wintun driver if config contains --windows-driver wintun Signed-off-by: Lev Stipakov <lev@openvpn.net>
This commit is contained in:
parent
0dbbbd3020
commit
7dabcb3cee
@ -366,6 +366,10 @@ private:
|
|||||||
|
|
||||||
autologin = eval.autologin;
|
autologin = eval.autologin;
|
||||||
|
|
||||||
|
// for compatibility with openvpn2
|
||||||
|
if (eval.windowsDriver == "wintun")
|
||||||
|
config->wintun = true;
|
||||||
|
|
||||||
if (!eval.autologin && management_query_passwords && !creds)
|
if (!eval.autologin && management_query_passwords && !creds)
|
||||||
query_username_password("Auth", false, eval.staticChallenge, eval.staticChallengeEcho);
|
query_username_password("Auth", false, eval.staticChallenge, eval.staticChallengeEcho);
|
||||||
else if (proxy_need_creds)
|
else if (proxy_need_creds)
|
||||||
|
Loading…
Reference in New Issue
Block a user