aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXu Fasheng <fasheng.xu@gmail.com>2019-02-22 20:14:04 +0800
committerXu Fasheng <fasheng.xu@gmail.com>2019-02-22 20:18:34 +0800
commit1eb26bdf080b178482e3fab81adb263c697e0a42 (patch)
treebaa119bdd22733f9f80a5c005b095266692d9d2d
parentcbd0e71c077e6233bcbc751f9a2f1ee742000ba3 (diff)
Ignore IPv6 DLNA devices
DLNA is not ready for IPv6 now, uncomment the code will be fine.
-rw-r--r--Emby.Dlna/Main/DlnaEntryPoint.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.cs
index 427b3a5c0..d066bd1bd 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";