Remove 169.254 prefix

This commit is contained in:
sgourdas 2024-10-08 21:39:12 +03:00
parent 0de9bd0a99
commit 5d1b6274a8

View File

@ -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;