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:
parent
18a2184e57
commit
13f2430d36
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user