Make switch broadcast detection ipv6 aware (even unused for now)
This commit is contained in:
parent
b93a24a184
commit
db98783f09
@ -425,7 +425,6 @@ std::vector<SocketAddress> ServersManager::getBroadcastAddresses(bool ipv6)
|
|||||||
Log::warn("ServersManager", "Failed to get broadcast address! Error 0x%x", resultCode);
|
Log::warn("ServersManager", "Failed to get broadcast address! Error 0x%x", resultCode);
|
||||||
result = getDefaultBroadcastAddresses();
|
result = getDefaultBroadcastAddresses();
|
||||||
}
|
}
|
||||||
return result;
|
|
||||||
#elif !defined(WIN32)
|
#elif !defined(WIN32)
|
||||||
struct ifaddrs *addresses, *p;
|
struct ifaddrs *addresses, *p;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user