Ignore IPv6 DLNA devices

DLNA is not ready for IPv6 now, uncomment the code will be fine.
This commit is contained in:
Xu Fasheng 2019-02-22 20:14:04 +08:00
parent cbd0e71c07
commit 1eb26bdf08

View file

@ -253,10 +253,10 @@ namespace Emby.Dlna.Main
foreach (var address in addresses)
{
// TODO: Remove this condition on platforms that support it
//if (address.AddressFamily == IpAddressFamily.InterNetworkV6)
//{
// continue;
//}
if (address.AddressFamily == IpAddressFamily.InterNetworkV6)
{
continue;
}
var fullService = "urn:schemas-upnp-org:device:MediaServer:1";