mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 20:00:13 +02:00
Fix returning of external IP address for some routers.
This commit is contained in:
2
thirdparty/libportfwd/src/portfwd.cpp
vendored
2
thirdparty/libportfwd/src/portfwd.cpp
vendored
@@ -149,7 +149,7 @@ Portfwd::get_status()
|
|||||||
|
|
||||||
// get external IP adress
|
// get external IP adress
|
||||||
char ip[16];
|
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
|
m_externalip = ""; //failed
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user