1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-22 17:01:51 +02:00

Fix typo.

This commit is contained in:
Thierry Göckel 2015-01-06 23:49:06 +01:00
parent e2d8576b01
commit 94c666b604

@ -275,7 +275,7 @@ Servent::isValidExternalIP( const QHostAddress& addr )
if ( addr.isInSubnet(QHostAddress::parseSubnet( "224.0.0.0/4" ) ) )
return false;
}
else if (addr.protocol() == QAbstractSocket::IPv4Protocol)
else if (addr.protocol() == QAbstractSocket::IPv6Protocol)
{
// "unspecified address"
if ( addr.isInSubnet(QHostAddress::parseSubnet( "::/128" ) ) )