mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

The dependencies in the repo doesn't meet the minimum requirements for
upgrading to the latest aMule version.
This reverts commit dc43ea2936
.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
17 lines
447 B
Diff
17 lines
447 B
Diff
diff --git a/src/UPnPBase.cpp b/src/UPnPBase.cpp
|
|
index 46ac7451e..dd244e5b0 100644
|
|
--- a/src/UPnPBase.cpp
|
|
+++ b/src/UPnPBase.cpp
|
|
@@ -828,9 +828,9 @@
|
|
int ret;
|
|
char *ipAddress = NULL;
|
|
unsigned short port = 0;
|
|
- ret = UpnpInit(ipAddress, udpPort);
|
|
+ ret = UpnpInit2(0, udpPort);
|
|
if (ret != UPNP_E_SUCCESS) {
|
|
- msg << "error(UpnpInit): Error code ";
|
|
+ msg << "error(UpnpInit2): Error code ";
|
|
goto error;
|
|
}
|
|
port = UpnpGetServerPort();
|