Sfoglia il codice sorgente

Update comments for DLNA IPv6

Xu Fasheng 6 anni fa
parent
commit
0c49079c16
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      Emby.Dlna/Main/DlnaEntryPoint.cs
  2. 1 1
      RSSDP/SsdpCommunicationsServer.cs

+ 1 - 1
Emby.Dlna/Main/DlnaEntryPoint.cs

@@ -252,9 +252,9 @@ namespace Emby.Dlna.Main
 
             foreach (var address in addresses)
             {
-                // TODO: Remove this condition on platforms that support it
                 if (address.AddressFamily == IpAddressFamily.InterNetworkV6)
                 {
+                   // Not support IPv6 right now
                    continue;
                 }
 

+ 1 - 1
RSSDP/SsdpCommunicationsServer.cs

@@ -372,7 +372,7 @@ namespace Rssdp.Infrastructure
                 {
                     if (address.AddressFamily == IpAddressFamily.InterNetworkV6)
                     {
-                        // Not supported ?
+                        // Not support IPv6 right now
                         continue;
                     }