From 1eb26bdf080b178482e3fab81adb263c697e0a42 Mon Sep 17 00:00:00 2001 From: Xu Fasheng Date: Fri, 22 Feb 2019 20:14:04 +0800 Subject: [PATCH] Ignore IPv6 DLNA devices DLNA is not ready for IPv6 now, uncomment the code will be fine. --- Emby.Dlna/Main/DlnaEntryPoint.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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";