aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpDeviceLocator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'RSSDP/SsdpDeviceLocator.cs')
-rw-r--r--RSSDP/SsdpDeviceLocator.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/RSSDP/SsdpDeviceLocator.cs b/RSSDP/SsdpDeviceLocator.cs
index 0cdc5ce3d..9a110683e 100644
--- a/RSSDP/SsdpDeviceLocator.cs
+++ b/RSSDP/SsdpDeviceLocator.cs
@@ -31,10 +31,11 @@ namespace Rssdp.Infrastructure
{
throw new ArgumentNullException(nameof(communicationsServer));
}
-
+
_CommunicationsServer = communicationsServer;
- _CommunicationsServer.ResponseReceived += CommsServer_ResponseReceived;
+ // This can occur is dlna is enabled, but defined to run over https.
+ _CommunicationsServer.ResponseReceived += CommsServer_ResponseReceived;
_Devices = new List<DiscoveredSsdpDevice>();
}