summaryrefslogtreecommitdiff
path: root/community/0ad/miniupnpc-1.9.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-19 03:36:23 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-19 03:36:23 +0000
commit322e623017947f32cb26db4c80f8eec2c5736401 (patch)
treeea6f3158396b2281984f4ba778c6a06084265afd /community/0ad/miniupnpc-1.9.patch
parent8185891e28635bdb83fdf4ba4391030912dae596 (diff)
Wed Feb 19 03:33:04 UTC 2014
Diffstat (limited to 'community/0ad/miniupnpc-1.9.patch')
-rw-r--r--community/0ad/miniupnpc-1.9.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/0ad/miniupnpc-1.9.patch b/community/0ad/miniupnpc-1.9.patch
new file mode 100644
index 000000000..d0546cf2e
--- /dev/null
+++ b/community/0ad/miniupnpc-1.9.patch
@@ -0,0 +1,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);
+