From 39593c508a13ab6e87276dc1c79a6a256bdd21a3 Mon Sep 17 00:00:00 2001 From: Rick164 Date: Fri, 11 Nov 2016 23:30:57 +0100 Subject: [PATCH] Fixed QHostAddress address binding for AtmoOrb (#285) --- libsrc/leddevice/LedDeviceAtmoOrb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/leddevice/LedDeviceAtmoOrb.cpp b/libsrc/leddevice/LedDeviceAtmoOrb.cpp index 64773e85..6265c021 100644 --- a/libsrc/leddevice/LedDeviceAtmoOrb.cpp +++ b/libsrc/leddevice/LedDeviceAtmoOrb.cpp @@ -24,7 +24,7 @@ LedDeviceAtmoOrb::LedDeviceAtmoOrb(const QJsonObject &deviceConfig) _groupAddress = QHostAddress(_multicastGroup); _udpSocket = new QUdpSocket(this); - _udpSocket->bind(QHostAddress::Any, _multiCastGroupPort, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint); + _udpSocket->bind(QHostAddress::AnyIPv4, _multiCastGroupPort, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint); joinedMulticastgroup = _udpSocket->joinMulticastGroup(_groupAddress); }