aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-12-28 22:39:38 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-12-28 22:39:38 -0500
commitb46ef16ba838dafbd79f6e9ffbea37afa2104b0b (patch)
tree053810f8bc92acf697b7c4de7082781fc6b7728d /MediaBrowser.Controller
parent971808f38faaa019c467b6273e2478d5cc562256 (diff)
update local address detection
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/IServerApplicationHost.cs4
-rw-r--r--MediaBrowser.Controller/Net/IHttpServer.cs6
2 files changed, 3 insertions, 7 deletions
diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs
index 1b842a5f6..fb843d191 100644
--- a/MediaBrowser.Controller/IServerApplicationHost.cs
+++ b/MediaBrowser.Controller/IServerApplicationHost.cs
@@ -1,6 +1,8 @@
using MediaBrowser.Common;
using MediaBrowser.Model.System;
using System;
+using System.Collections.Generic;
+using System.Net;
namespace MediaBrowser.Controller
{
@@ -63,7 +65,7 @@ namespace MediaBrowser.Controller
/// Gets the local ip address.
/// </summary>
/// <value>The local ip address.</value>
- string LocalIpAddress { get; }
+ List<IPAddress> LocalIpAddresses { get; }
/// <summary>
/// Gets the local API URL.
diff --git a/MediaBrowser.Controller/Net/IHttpServer.cs b/MediaBrowser.Controller/Net/IHttpServer.cs
index 91da5fab2..97c5dd31b 100644
--- a/MediaBrowser.Controller/Net/IHttpServer.cs
+++ b/MediaBrowser.Controller/Net/IHttpServer.cs
@@ -29,12 +29,6 @@ namespace MediaBrowser.Controller.Net
void StartServer(IEnumerable<string> urlPrefixes, string certificatePath);
/// <summary>
- /// Gets the local end points.
- /// </summary>
- /// <value>The local end points.</value>
- IEnumerable<string> LocalEndPoints { get; }
-
- /// <summary>
/// Stops this instance.
/// </summary>
void Stop();