aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/ApplicationHost.cs')
-rw-r--r--MediaBrowser.Server.Startup.Common/ApplicationHost.cs7
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;