Skip to content

The Free Software Media System - Server Backend & API

Ignore IPv6 DLNA devices

Xu Fasheng1eb26bdf080b
diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.cs
index 427b3a5c0e..d066bd1bd9 100644
--- a/Emby.Dlna/Main/DlnaEntryPoint.cs
+++ b/Emby.Dlna/Main/DlnaEntryPoint.cs
@@ -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";