diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-11-24 11:31:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-24 11:31:05 -0500 |
| commit | 8ad6f3df9129403465a0564d758819eb30f25895 (patch) | |
| tree | 1863c384aa934500a44255e9538e29cd1c04b6b7 /Emby.Common.Implementations/Net | |
| parent | 682b02210f42c92e44702f5c9c204bc80c946df5 (diff) | |
| parent | 9606a2a710614404b4dda96cceff688314a1ec89 (diff) | |
Merge pull request #2307 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Common.Implementations/Net')
| -rw-r--r-- | Emby.Common.Implementations/Net/UdpSocket.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Emby.Common.Implementations/Net/UdpSocket.cs b/Emby.Common.Implementations/Net/UdpSocket.cs index b9b7d8a2d..367d2242c 100644 --- a/Emby.Common.Implementations/Net/UdpSocket.cs +++ b/Emby.Common.Implementations/Net/UdpSocket.cs @@ -33,8 +33,6 @@ namespace Emby.Common.Implementations.Net _LocalPort = localPort; _Socket.Bind(new IPEndPoint(ip, _LocalPort)); - if (_LocalPort == 0) - _LocalPort = (_Socket.LocalEndPoint as IPEndPoint).Port; } #endregion |
