1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-14 18:14:50 +02:00

Servent should listen to IPv6 too

This commit is contained in:
Uwe L. Korn
2013-04-05 13:17:44 +02:00
committed by Michael Zanetti
parent cba83e5225
commit c41c475852

View File

@@ -610,7 +610,7 @@ TomahawkApp::initServent()
bool upnp = !arguments().contains( "--noupnp" );
int port = TomahawkSettings::instance()->externalPort();
if ( !Servent::instance()->startListening( QHostAddress( QHostAddress::Any ), upnp, port ) )
if ( !Servent::instance()->startListening( QHostAddress( QHostAddress::AnyIPv6 ), upnp, port ) )
{
tLog() << "Failed to start listening with servent";
exit( 1 );