mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 23:26:40 +02:00
Servent should listen to IPv6 too
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user