diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-02 22:13:03 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-02 22:13:03 -0500 |
| commit | 56f6b0335ce40aeab275f1038b96a8ecc642f18f (patch) | |
| tree | 92d8a4c47dec99f1be6e1aca0bb59bd64b48911b /MediaBrowser.Server.Startup.Common/ApplicationHost.cs | |
| parent | c48458f215bd5ea1da3ef3636f801a4652e77aa0 (diff) | |
updated nuget
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/ApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index 4258de83f..8ae117ebd 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -950,11 +950,6 @@ namespace MediaBrowser.Server.Startup.Common var localAddresses = NetworkManager.GetLocalIpAddresses() .ToList(); - if (localAddresses.Count < 2) - { - return localAddresses; - } - var httpServerAddresses = HttpServer.LocalEndPoints .Select(i => i.Split(':').FirstOrDefault()) .Where(i => !string.IsNullOrEmpty(i)) @@ -967,7 +962,7 @@ namespace MediaBrowser.Server.Startup.Common if (matchedAddresses.Count == 0) { - return localAddresses.Take(1); + return localAddresses; } return matchedAddresses; |
