mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
Correctly ignore IPv4-as-IPv6 localhost
This commit is contained in:
@@ -157,7 +157,7 @@ Servent::startListening( QHostAddress ha, bool upnp, int port )
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else if ( ( ha.toString() != "127.0.0.1" ) && ( ha.toString() != "::1" ) && ( ha.toString() == "::7F00:1" ) )
|
else if ( ( ha.toString() != "127.0.0.1" ) && ( ha.toString() != "::1" ) && ( ha.toString() != "::7F00:1" ) )
|
||||||
{
|
{
|
||||||
// We listen only to one specific Address, only announce this.
|
// We listen only to one specific Address, only announce this.
|
||||||
m_externalAddresses.append( ha );
|
m_externalAddresses.append( ha );
|
||||||
|
Reference in New Issue
Block a user