Updated: NzbDrone references in FirewallAdapter.cs (#2504)

This commit is contained in:
Qstick 2018-02-11 17:22:31 +01:00 committed by Leonardo Galli
parent 3ed0652feb
commit 1514a00b8f
1 changed files with 3 additions and 3 deletions

View File

@ -31,13 +31,13 @@ namespace Radarr.Host.AccessControl
{ {
if (!IsNzbDronePortOpen(_configFileProvider.Port)) if (!IsNzbDronePortOpen(_configFileProvider.Port))
{ {
_logger.Debug("Opening Port for NzbDrone: {0}", _configFileProvider.Port); _logger.Debug("Opening Port for Radarr: {0}", _configFileProvider.Port);
OpenFirewallPort(_configFileProvider.Port); OpenFirewallPort(_configFileProvider.Port);
} }
if (_configFileProvider.EnableSsl && !IsNzbDronePortOpen(_configFileProvider.SslPort)) if (_configFileProvider.EnableSsl && !IsNzbDronePortOpen(_configFileProvider.SslPort))
{ {
_logger.Debug("Opening SSL Port for NzbDrone: {0}", _configFileProvider.SslPort); _logger.Debug("Opening SSL Port for Radarr: {0}", _configFileProvider.SslPort);
OpenFirewallPort(_configFileProvider.SslPort); OpenFirewallPort(_configFileProvider.SslPort);
} }
} }
@ -81,7 +81,7 @@ namespace Radarr.Host.AccessControl
} }
catch (Exception ex) catch (Exception ex)
{ {
_logger.Warn(ex, "Failed to open port in firewall for NzbDrone " + portNumber); _logger.Warn(ex, "Failed to open port in firewall for Radarr " + portNumber);
} }
} }