mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 23:57:34 +02:00
Fix typo.
This commit is contained in:
@@ -275,7 +275,7 @@ Servent::isValidExternalIP( const QHostAddress& addr )
|
|||||||
if ( addr.isInSubnet(QHostAddress::parseSubnet( "224.0.0.0/4" ) ) )
|
if ( addr.isInSubnet(QHostAddress::parseSubnet( "224.0.0.0/4" ) ) )
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if (addr.protocol() == QAbstractSocket::IPv4Protocol)
|
else if (addr.protocol() == QAbstractSocket::IPv6Protocol)
|
||||||
{
|
{
|
||||||
// "unspecified address"
|
// "unspecified address"
|
||||||
if ( addr.isInSubnet(QHostAddress::parseSubnet( "::/128" ) ) )
|
if ( addr.isInSubnet(QHostAddress::parseSubnet( "::/128" ) ) )
|
||||||
|
Reference in New Issue
Block a user