Browse Source

Fix UPnP: error 2

pull/2094/head
self-related 3 months ago committed by GitHub
parent
commit
32a70562c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      daemon/UPnP.cpp

2
daemon/UPnP.cpp

@ -122,7 +122,7 @@ namespace transport @@ -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);

Loading…
Cancel
Save