From 9ffb82d96a405fdb35cdd925d8ddbba716592fef Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 4 Jun 2015 00:50:10 -0400 Subject: remove probing of live tv feeds --- .../Connect/ConnectEntryPoint.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Server.Implementations/Connect') 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() -- cgit v1.2.3