mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Servent should listen to IPv6 too
This commit is contained in:
@@ -610,7 +610,7 @@ TomahawkApp::initServent()
|
|||||||
|
|
||||||
bool upnp = !arguments().contains( "--noupnp" );
|
bool upnp = !arguments().contains( "--noupnp" );
|
||||||
int port = TomahawkSettings::instance()->externalPort();
|
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";
|
tLog() << "Failed to start listening with servent";
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
|
Reference in New Issue
Block a user