1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 15:29:42 +01:00

There are two types of any Address

This commit is contained in:
Uwe L. Korn 2014-08-24 00:31:50 +01:00
parent 20babf7a02
commit 370dc5f2a6

View File

@ -140,7 +140,7 @@ Servent::startListening( QHostAddress ha, bool upnp, int port, Tomahawk::Network
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.
foreach ( QHostAddress addr, QNetworkInterface::allAddresses() )