summaryrefslogtreecommitdiff
path: root/community/0ad/miniupnpc-1.9.patch
blob: d0546cf2e7ad369e26c463c83d5333faede16d5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -rupN a/source/network/NetServer.cpp b/source/network/NetServer.cpp
--- a/source/network/NetServer.cpp	2013-12-18 16:08:56.000000000 +0000
+++ b/source/network/NetServer.cpp	2014-02-18 10:11:59.955214338 +0000
@@ -274,7 +274,7 @@ void* CNetServerWorker::SetupUPnP(void*)
 	// Check that the port was actually forwarded.
 	ret = UPNP_GetSpecificPortMappingEntry(urls.controlURL,
 									 data.first.servicetype,
-									 psPort, protocall,
+									 psPort, protocall, externalIPAddress,
 									 intClient, intPort, NULL/*desc*/,
 									 NULL/*enabled*/, duration);