diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2011-09-20 06:43:23 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2011-09-20 06:43:23 +0000 |
| commit | cf5d934e1be0d85c051583ed6671b4a7a73da46c (patch) | |
| tree | 2465d5341d110295c08a550a657f5029b4a4f80f /src/QXmppStun.cpp | |
| parent | adcef548fb662404daac27ebd7e689daf8a7822f (diff) | |
| download | qxmpp-cf5d934e1be0d85c051583ed6671b4a7a73da46c.tar.gz | |
make QXmppIceComponent use point-to-point interfaces too (Fixes issue #120)
Diffstat (limited to 'src/QXmppStun.cpp')
| -rw-r--r-- | src/QXmppStun.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/QXmppStun.cpp b/src/QXmppStun.cpp index f189f223..08308648 100644 --- a/src/QXmppStun.cpp +++ b/src/QXmppStun.cpp @@ -2181,8 +2181,7 @@ QList<QHostAddress> QXmppIceComponent::discoverAddresses() QHostAddress ip = entry.ip(); if ((ip.protocol() != QAbstractSocket::IPv4Protocol && ip.protocol() != QAbstractSocket::IPv6Protocol) || - entry.netmask().isNull() || - entry.netmask() == QHostAddress::Broadcast) + entry.netmask().isNull()) continue; #ifdef Q_OS_MAC |
