]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
node: consider .local tld local
authortobtoht <tob@featherwallet.org>
Thu, 19 Sep 2024 12:01:19 +0000 (14:01 +0200)
committertobtoht <tob@featherwallet.org>
Thu, 19 Sep 2024 12:01:19 +0000 (14:01 +0200)
src/utils/nodes.h

index 27c289779e625ccf2f59cd56efafc960f532ff79..920fda9139ecad623b0fcf6733842d5ddd78c23f 100644 (file)
@@ -78,6 +78,10 @@ struct FeatherNode {
             return true;
         }
 
+        if (host.endsWith(".local")) { // RFC 6762
+            return true;
+        }
+
         QHostAddress address(host);
 
         bool validipv4;