aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppStun.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2011-09-20 06:43:23 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2011-09-20 06:43:23 +0000
commitcf5d934e1be0d85c051583ed6671b4a7a73da46c (patch)
tree2465d5341d110295c08a550a657f5029b4a4f80f /src/QXmppStun.cpp
parentadcef548fb662404daac27ebd7e689daf8a7822f (diff)
downloadqxmpp-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.cpp3
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