From 5d1b6274a8fc5b746889a209de56422b4f9f8ed7 Mon Sep 17 00:00:00 2001 From: sgourdas Date: Tue, 8 Oct 2024 21:39:12 +0300 Subject: [PATCH] Remove 169.254 prefix --- src/tools/networkTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/networkTools.cpp b/src/tools/networkTools.cpp index 12c7ab977..bb1821bc6 100644 --- a/src/tools/networkTools.cpp +++ b/src/tools/networkTools.cpp @@ -229,7 +229,7 @@ IpAddress getBestPublicIps() { } } #endif - const char* const v4prefixes[] = { "192.168", "172.16", "10.0", "169.254" }; + const char* const v4prefixes[] = { "192.168", "172.16", "10.0" }; for (const auto& prefix : v4prefixes) { for (const auto& kv : interfaces) { const auto& interfaceIps = kv.second;