enhanced IGMP debug messages
This commit is contained in:
parent
24e7b5eb4c
commit
a0a1c13cb3
|
@ -15,7 +15,6 @@ SacnExplorer::SacnExplorer(int argc, char *argv[])
|
|||
node_ = new QSacnNode(this, cid_);
|
||||
qDebug() << "sACN node started with CID" << node_->cid().string().c_str();
|
||||
node_->assignUserName(applicationName().toStdString());
|
||||
qDebug() << "Starting sACN discovery.";
|
||||
node_->discoveryStart();
|
||||
|
||||
window = new MultiverseView(nullptr, node_);
|
||||
|
|
|
@ -73,8 +73,10 @@ void QSacnNode::subscribe(const uint16_t num)
|
|||
break;
|
||||
}
|
||||
|
||||
qDebug() << "Joining IGMP Group" << IPv4MulticastAddress(num).toString();
|
||||
for (QNetworkInterface &iface : QNetworkInterface::allInterfaces())
|
||||
joinMulticastGroup(IPv4MulticastAddress(num), iface);
|
||||
qDebug() << "Joining IGMP Group" << IPv6MulticastAddress(num).toString();
|
||||
for (QNetworkInterface &iface : QNetworkInterface::allInterfaces())
|
||||
joinMulticastGroup(IPv6MulticastAddress(num), iface);
|
||||
}
|
||||
|
@ -107,8 +109,10 @@ void QSacnNode::unsubscribe(const uint16_t num)
|
|||
break;
|
||||
}
|
||||
|
||||
qDebug() << "Leaving IGMP Group" << IPv4MulticastAddress(num).toString();
|
||||
for (QNetworkInterface &iface : QNetworkInterface::allInterfaces())
|
||||
leaveMulticastGroup(IPv4MulticastAddress(num), iface);
|
||||
qDebug() << "Leaving IGMP Group" << IPv6MulticastAddress(num).toString();
|
||||
for (QNetworkInterface &iface : QNetworkInterface::allInterfaces())
|
||||
leaveMulticastGroup(IPv6MulticastAddress(num), iface);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue