aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Connect
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-06-04 00:50:10 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-06-04 00:50:10 -0400
commit9ffb82d96a405fdb35cdd925d8ddbba716592fef (patch)
tree413657421566049ab6e37c7c84fed862327d146c /MediaBrowser.Server.Implementations/Connect
parent5c5d7d034b0943d00c9f92085368e7a372462212 (diff)
remove probing of live tv feeds
Diffstat (limited to 'MediaBrowser.Server.Implementations/Connect')
-rw-r--r--MediaBrowser.Server.Implementations/Connect/ConnectEntryPoint.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Connect/ConnectEntryPoint.cs b/MediaBrowser.Server.Implementations/Connect/ConnectEntryPoint.cs
index 3e211d003..6dc83bc74 100644
--- a/MediaBrowser.Server.Implementations/Connect/ConnectEntryPoint.cs
+++ b/MediaBrowser.Server.Implementations/Connect/ConnectEntryPoint.cs
@@ -54,7 +54,7 @@ namespace MediaBrowser.Server.Implementations.Connect
if (IsValid(address))
{
- ((ConnectManager) _connectManager).OnWanAddressResolved(address);
+ ((ConnectManager)_connectManager).OnWanAddressResolved(address);
CacheAddress(address);
}
}
@@ -115,7 +115,14 @@ namespace MediaBrowser.Server.Implementations.Connect
private bool IsValid(string address)
{
IPAddress ipAddress;
- return IPAddress.TryParse(address, out ipAddress);
+ var valid = IPAddress.TryParse(address, out ipAddress);
+
+ if (!valid)
+ {
+ _logger.Error("{0} is not a valid ip address", address);
+ }
+
+ return valid;
}
public void Dispose()