Browse Source

Ignore IPv6 DLNA devices

DLNA is not ready for IPv6 now, uncomment the code will be fine.
Xu Fasheng 6 năm trước cách đây
mục cha
commit
1eb26bdf08
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      Emby.Dlna/Main/DlnaEntryPoint.cs

+ 4 - 4
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";