1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

Servent should listen to IPv6 too

This commit is contained in:
Uwe L. Korn 2013-04-05 13:17:44 +02:00
parent 18a2184e57
commit 13f2430d36

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 );