The Free Software Media System - Server Backend & API
Fixed build
Jim Cartlidge8c85cfd01d18
diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.csindex 6f626711a2..33a953563b 100644--- a/Emby.Dlna/Main/DlnaEntryPoint.cs+++ b/Emby.Dlna/Main/DlnaEntryPoint.cs@@ -261,14 +261,14 @@ namespace Emby.Dlna.Main{var udn = CreateUuid(_appHost.SystemId);- var ba = new NetCollection(+ var bindAddresses = new NetCollection(_networkManager.GetInternalBindAddresses().Where(i => i.AddressFamily == AddressFamily.InterNetwork || (i.AddressFamily == AddressFamily.InterNetworkV6 && i.Address.ScopeId != 0)));- if (ba.Count == 0)+ if (bindAddresses.Count == 0){// No interfaces returned, so use loopback.- ba = _networkManager.GetLoopbacks();+ bindAddresses = _networkManager.GetLoopbacks();}foreach (var addr in bindAddresses)diff --git a/Emby.Server.Implementations/Emby.Server.Implementations.csproj b/Emby.Server.Implementations/Emby.Server.Implementations.csprojindex 9a860f4d78..f8fef8bcbf 100644--- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj+++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj@@ -22,7 +22,6 @@</ItemGroup><ItemGroup>- <PackageReference Include="IPNetwork2" Version="2.5.224" /><PackageReference Include="Jellyfin.XmlTv" Version="10.6.2" /><PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.2.7" /><PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" />