1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 09:29:52 +03:00

Mayaqua/Network: Skip IPv6 nameservers for SecureNAT

This commit is contained in:
domosekai 2021-04-27 07:30:38 +00:00
parent ce54531b53
commit c20bcb2e60

View File

@ -8037,7 +8037,7 @@ bool UnixGetDefaultDns(IP *ip)
if (StrCmpi(t->Token[0], "nameserver") == 0)
{
StrToIP(ip, t->Token[1]);
f = true;
f = IsIP4(ip);
}
}
FreeToken(t);