diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-11-12 16:06:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-12 16:06:19 -0500 |
| commit | 7eab5889fc50a807edd7e216019f958bdeaf8501 (patch) | |
| tree | ab0fa8772804b1f993d009fc3a48102897e6abc3 /RSSDP | |
| parent | b51ed9621fb1c98b891ce5f2fa6fa255a59ad6af (diff) | |
| parent | 351d29954a60084df3cca7dc6db2393298b366cd (diff) | |
Merge pull request #3012 from MediaBrowser/dev
3.2.36.8
Diffstat (limited to 'RSSDP')
| -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 a4be24ebfe..6b4f67b0b5 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)); |
