diff --git a/Emby.Server.Implementations/EntryPoints/ExternalPortForwarding.cs b/Emby.Server.Implementations/EntryPoints/ExternalPortForwarding.cs
index 2f3d2c2888..7cf850932f 100644
--- a/Emby.Server.Implementations/EntryPoints/ExternalPortForwarding.cs
+++ b/Emby.Server.Implementations/EntryPoints/ExternalPortForwarding.cs
@@ -14,6 +14,9 @@ using Mono.Nat;
namespace Emby.Server.Implementations.EntryPoints
{
+ ///
+ /// Server entrypoint handling external port forwarding.
+ ///
public class ExternalPortForwarding : IServerEntryPoint
{
private readonly IServerApplicationHost _appHost;
@@ -21,14 +24,20 @@ namespace Emby.Server.Implementations.EntryPoints
private readonly IServerConfigurationManager _config;
private readonly IDeviceDiscovery _deviceDiscovery;
- private Timer _timer;
-
private readonly object _createdRulesLock = new object();
private List _createdRules = new List();
+ private Timer _timer;
private string _lastConfigIdentifier;
private bool _disposed = false;
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The logger.
+ /// The application host.
+ /// The configuration manager.
+ /// The device discovery.
public ExternalPortForwarding(
ILogger logger,
IServerApplicationHost appHost,
@@ -66,6 +75,7 @@ namespace Emby.Server.Implementations.EntryPoints
}
}
+ ///
public Task RunAsync()
{
if (_config.Configuration.EnableUPnP && _config.Configuration.EnableRemoteAccess)