mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-08-03 02:06:05 -04:00
Remove 169.254 prefix
This commit is contained in:
parent
0de9bd0a99
commit
5d1b6274a8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user