mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-06 15:54:57 +03:00
Mayaqua/Network: Skip IPv6 nameservers for SecureNAT
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user