|
|
@ -286,10 +286,10 @@ namespace Emby.Dlna.Main
|
|
|
|
|
|
|
|
|
|
|
|
// Only get bind addresses in LAN
|
|
|
|
// Only get bind addresses in LAN
|
|
|
|
var bindAddresses = _networkManager
|
|
|
|
var bindAddresses = _networkManager
|
|
|
|
.GetInternalBindAddresses()
|
|
|
|
.GetInternalBindAddresses()
|
|
|
|
.Where(i => i.Address.AddressFamily == AddressFamily.InterNetwork
|
|
|
|
.Where(i => i.Address.AddressFamily == AddressFamily.InterNetwork
|
|
|
|
|| (i.AddressFamily == AddressFamily.InterNetworkV6 && i.Address.ScopeId != 0))
|
|
|
|
|| (i.AddressFamily == AddressFamily.InterNetworkV6 && i.Address.ScopeId != 0))
|
|
|
|
.ToList();
|
|
|
|
.ToList();
|
|
|
|
|
|
|
|
|
|
|
|
if (bindAddresses.Count == 0)
|
|
|
|
if (bindAddresses.Count == 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|