mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
There are two types of any Address
This commit is contained in:
@@ -140,7 +140,7 @@ Servent::startListening( QHostAddress ha, bool upnp, int port, Tomahawk::Network
|
|||||||
|
|
||||||
d->externalListenAll = false;
|
d->externalListenAll = false;
|
||||||
|
|
||||||
if ( ha == QHostAddress::Any )
|
if ( ha == QHostAddress::Any || ha == QHostAddress::AnyIPv6 )
|
||||||
{
|
{
|
||||||
// We are listening on all available addresses, so we should send a SipInfo for all of them.
|
// We are listening on all available addresses, so we should send a SipInfo for all of them.
|
||||||
foreach ( QHostAddress addr, QNetworkInterface::allAddresses() )
|
foreach ( QHostAddress addr, QNetworkInterface::allAddresses() )
|
||||||
|
Reference in New Issue
Block a user