From: tobtoht Date: Thu, 19 Sep 2024 12:01:19 +0000 (+0200) Subject: node: consider .local tld local X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=bff194a2112ccbd6b2c30a2eb3143fa7323e866b;p=gamesguru%2Ffeather.git node: consider .local tld local --- diff --git a/src/utils/nodes.h b/src/utils/nodes.h index 27c28977..920fda91 100644 --- a/src/utils/nodes.h +++ b/src/utils/nodes.h @@ -78,6 +78,10 @@ struct FeatherNode { return true; } + if (host.endsWith(".local")) { // RFC 6762 + return true; + } + QHostAddress address(host); bool validipv4;