aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/EntryPoints
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2015-05-12 10:55:26 -0400
committerLuke <luke.pulverenti@gmail.com>2015-05-12 10:55:26 -0400
commit033919685a56fb9cf2c0612e1d320bc2987f7291 (patch)
treed53751b885ab8f88bf18d2370026908753cd5a82 /MediaBrowser.Server.Implementations/EntryPoints
parent46b26863d032643268375525170e67618d959464 (diff)
parent0f4a5ca9e6682e5f00bc54172b8083d42cbcd266 (diff)
Merge pull request #1100 from MediaBrowser/dev
3.0.5607.2
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints')
-rw-r--r--MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs b/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs
index b5b63181a..fa5841bb8 100644
--- a/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs
+++ b/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs
@@ -108,9 +108,9 @@ namespace MediaBrowser.Server.Implementations.EntryPoints
{
var endpoint = e.EndPoint as IPEndPoint;
- if (endpoint != null && e.LocalIp != null)
+ if (endpoint != null && e.LocalEndPoint != null)
{
- NatUtility.Handle(e.LocalIp, e.Message, endpoint, NatProtocol.Upnp);
+ NatUtility.Handle(e.LocalEndPoint.Address, e.Message, endpoint, NatProtocol.Upnp);
}
}