diff --git a/src/Libraries/FirewallApi/x64/Interop.NetFwTypeLib.dll b/src/Libraries/FirewallApi/x64/Interop.NetFwTypeLib.dll new file mode 100644 index 000000000..dc9d98846 Binary files /dev/null and b/src/Libraries/FirewallApi/x64/Interop.NetFwTypeLib.dll differ diff --git a/src/Libraries/Interop.NetFwTypeLib.dll b/src/Libraries/FirewallApi/x86/Interop.NetFwTypeLib.dll similarity index 100% rename from src/Libraries/Interop.NetFwTypeLib.dll rename to src/Libraries/FirewallApi/x86/Interop.NetFwTypeLib.dll diff --git a/src/NzbDrone.Host/AccessControl/FirewallAdapter.cs b/src/NzbDrone.Host/AccessControl/FirewallAdapter.cs index 794e9edff..eebd4d09d 100644 --- a/src/NzbDrone.Host/AccessControl/FirewallAdapter.cs +++ b/src/NzbDrone.Host/AccessControl/FirewallAdapter.cs @@ -31,13 +31,13 @@ namespace NzbDrone.Host.AccessControl { if (!IsNzbDronePortOpen(_configFileProvider.Port)) { - _logger.Debug("Opening Port for NzbDrone: {0}", _configFileProvider.Port); + _logger.Debug("Opening Port for Sonarr: {0}", _configFileProvider.Port); OpenFirewallPort(_configFileProvider.Port); } if (_configFileProvider.EnableSsl && !IsNzbDronePortOpen(_configFileProvider.SslPort)) { - _logger.Debug("Opening SSL Port for NzbDrone: {0}", _configFileProvider.SslPort); + _logger.Debug("Opening SSL Port for Sonarr: {0}", _configFileProvider.SslPort); OpenFirewallPort(_configFileProvider.SslPort); } } diff --git a/src/NzbDrone.Host/Sonarr.Host.csproj b/src/NzbDrone.Host/Sonarr.Host.csproj index d0e48b129..6173ae248 100644 --- a/src/NzbDrone.Host/Sonarr.Host.csproj +++ b/src/NzbDrone.Host/Sonarr.Host.csproj @@ -16,8 +16,8 @@ - - ..\Libraries\Interop.NetFwTypeLib.dll + + ..\Libraries\FirewallApi\$(Platform)\Interop.NetFwTypeLib.dll True