Compare commits

...

2 commits

Author SHA1 Message Date
self-related 7b7441136a
Merge 32a70562c4 into 0086f8e27a 2024-10-30 12:46:17 +00:00
self-related 32a70562c4
Fix UPnP: error 2 2024-08-19 00:07:22 +03:00

View file

@ -122,7 +122,7 @@ namespace transport
err = UPNP_GetValidIGD (m_Devlist, &m_upnpUrls, &m_upnpData, m_NetworkAddr, sizeof (m_NetworkAddr));
#endif
m_upnpUrlsInitialized=err!=0;
if (err == UPNP_IGD_VALID_CONNECTED)
if (err == UPNP_IGD_VALID_CONNECTED || err == UPNP_IGD_VALID_NOT_CONNECTED)
{
#if (MINIUPNPC_API_VERSION < 18)
err = UPNP_GetExternalIPAddress (m_upnpUrls.controlURL, m_upnpData.first.servicetype, m_externalIPAddress);