mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
Do not try link-local addresses.
This commit is contained in:
parent
18eda1d3a8
commit
8a6cd62c59
@ -150,6 +150,8 @@ Servent::startListening( QHostAddress ha, bool upnp, int port )
|
||||
continue; // IPv6 localhost
|
||||
if ( addr.toString() == "::7F00:1" )
|
||||
continue; // IPv4 localhost as IPv6 address
|
||||
if ( addr.isInSubnet( QHostAddress::parseSubnet( "fe80::/10" ) ) )
|
||||
continue; // Skip link local addresses
|
||||
tLog( LOGVERBOSE ) << Q_FUNC_INFO << "Listening to " << addr.toString();
|
||||
m_externalAddresses.append( addr );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user