Revert "Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored."

This reverts commit 2aaecb8e14.
This commit is contained in:
BaronGreenback
2020-04-28 21:51:49 +01:00
parent 2aaecb8e14
commit a3140f83c6
6 changed files with 71 additions and 98 deletions

View File

@@ -1274,7 +1274,7 @@ namespace Emby.Server.Implementations
if (addresses.Count == 0)
{
addresses.AddRange(_networkManager.GetLocalIpAddresses());
addresses.AddRange(_networkManager.GetLocalIpAddresses(ServerConfigurationManager.Configuration.IgnoreVirtualInterfaces));
}
var resultList = new List<IPAddress>();