diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-11-12 16:05:40 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-11-12 16:05:40 -0500 |
| commit | 351d29954a60084df3cca7dc6db2393298b366cd (patch) | |
| tree | ab0fa8772804b1f993d009fc3a48102897e6abc3 /RSSDP/SsdpCommunicationsServer.cs | |
| parent | 711f58808447765b51367cb4a60581f8b8bb65ff (diff) | |
3.2.36.8
Diffstat (limited to 'RSSDP/SsdpCommunicationsServer.cs')
| -rw-r--r-- | RSSDP/SsdpCommunicationsServer.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/RSSDP/SsdpCommunicationsServer.cs b/RSSDP/SsdpCommunicationsServer.cs index a4be24ebf..6b4f67b0b 100644 --- a/RSSDP/SsdpCommunicationsServer.cs +++ b/RSSDP/SsdpCommunicationsServer.cs @@ -366,6 +366,12 @@ namespace Rssdp.Infrastructure { foreach (var address in _networkManager.GetLocalIpAddresses()) { + if (address.AddressFamily == IpAddressFamily.InterNetworkV6) + { + // Not supported ? + continue; + } + try { sockets.Add(_SocketFactory.CreateSsdpUdpSocket(address, _LocalPort)); |
