From db98783f09bf4f440e9a8d58d1696051348e50ee Mon Sep 17 00:00:00 2001 From: Benau Date: Fri, 5 Mar 2021 09:47:20 +0800 Subject: [PATCH] Make switch broadcast detection ipv6 aware (even unused for now) --- src/network/servers_manager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/network/servers_manager.cpp b/src/network/servers_manager.cpp index a006c9d1f..4187a319f 100644 --- a/src/network/servers_manager.cpp +++ b/src/network/servers_manager.cpp @@ -425,7 +425,6 @@ std::vector ServersManager::getBroadcastAddresses(bool ipv6) Log::warn("ServersManager", "Failed to get broadcast address! Error 0x%x", resultCode); result = getDefaultBroadcastAddresses(); } - return result; #elif !defined(WIN32) struct ifaddrs *addresses, *p;