1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

Fix returning of external IP address for some routers.

This commit is contained in:
Thierry Göckel
2011-11-16 22:37:31 +01:00
parent add5308bc3
commit aaa2417e74

View File

@@ -149,7 +149,7 @@ Portfwd::get_status()
// get external IP adress
char ip[16];
if ( 0 != UPNP_GetExternalIPAddress( m_urls->controlURL, m_data->CIF.servicetype, (char*)&ip ) )
if ( 0 != UPNP_GetExternalIPAddress( m_urls->controlURL, m_data->first.servicetype, (char*)&ip ) )
{
m_externalip = ""; //failed
}