From c20bcb2e604f5a66cc5244122d5f9c29d8ecce00 Mon Sep 17 00:00:00 2001 From: domosekai <54519668+domosekai@users.noreply.github.com> Date: Tue, 27 Apr 2021 07:30:38 +0000 Subject: [PATCH] Mayaqua/Network: Skip IPv6 nameservers for SecureNAT --- src/Mayaqua/Network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mayaqua/Network.c b/src/Mayaqua/Network.c index 72edb903..3c20154f 100644 --- a/src/Mayaqua/Network.c +++ b/src/Mayaqua/Network.c @@ -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);