diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-09 18:22:04 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-09 18:22:04 -0400 |
| commit | 74a8ca9c38d17e407c70aafe2cfd42b8b13d923e (patch) | |
| tree | e5f854faa1a10ec106c8ff502d9448f793b63602 /MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs | |
| parent | ad6f47329f6600a42868c58056656ea8f65d2ca6 (diff) | |
fix case sensitive file names
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs b/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs index 2d050d4a7..e32068905 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs @@ -126,15 +126,15 @@ namespace MediaBrowser.Server.Implementations.EntryPoints var info = _appHost.GetSystemInfo(); - CreatePortMap(device, info.HttpServerPortNumber); + CreatePortMap(device, info.HttpServerPortNumber, _config.Configuration.PublicPort); } } - private void CreatePortMap(INatDevice device, int port) + private void CreatePortMap(INatDevice device, int privatePort, int publicPort) { - _logger.Debug("Creating port map on port {0}", port); + _logger.Debug("Creating port map on port {0}", privatePort); - device.CreatePortMap(new Mapping(Protocol.Tcp, port, port) + device.CreatePortMap(new Mapping(Protocol.Tcp, privatePort, publicPort) { Description = "Media Browser Server" }); |
