mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01:00
Correctly ignore IPv4-as-IPv6 localhost
This commit is contained in:
parent
8a6cd62c59
commit
9b7730cd26
@ -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.
|
||||
m_externalAddresses.append( ha );
|
||||
|
Loading…
x
Reference in New Issue
Block a user