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:
parent
ce54531b53
commit
c20bcb2e60
@ -8037,7 +8037,7 @@ bool UnixGetDefaultDns(IP *ip)
|
|||||||
if (StrCmpi(t->Token[0], "nameserver") == 0)
|
if (StrCmpi(t->Token[0], "nameserver") == 0)
|
||||||
{
|
{
|
||||||
StrToIP(ip, t->Token[1]);
|
StrToIP(ip, t->Token[1]);
|
||||||
f = true;
|
f = IsIP4(ip);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
FreeToken(t);
|
FreeToken(t);
|
||||||
|
Loading…
Reference in New Issue
Block a user