diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.cs index 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.csproj index 9a860f4d78..f8fef8bcbf 100644 --- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj +++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj @@ -22,7 +22,6 @@ -