12 lines
314 B
Diff
12 lines
314 B
Diff
--- a/src/UPnPBase.cpp
|
|
+++ b/src/UPnPBase.cpp
|
|
@@ -828,7 +828,7 @@ m_WanService(NULL)
|
|
int ret;
|
|
char *ipAddress = NULL;
|
|
unsigned short port = 0;
|
|
- ret = UpnpInit(ipAddress, udpPort);
|
|
+ ret = UpnpInit2(ipAddress, udpPort);
|
|
if (ret != UPNP_E_SUCCESS) {
|
|
msg << "error(UpnpInit): Error code ";
|
|
goto error;
|