mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 03:44:26 +02:00
repair send of path query packet
This commit is contained in:
parent
05be8199c8
commit
bb15326676
3 changed files with 5 additions and 5 deletions
|
@ -1448,7 +1448,7 @@ void DomainServer::processDatagram(const QByteArray& receivedPacket, const HifiS
|
|||
processICEPingReply(receivedPacket, senderSockAddr);
|
||||
break;
|
||||
}
|
||||
case PacketTypeIceServerPeerInformation:
|
||||
case PacketType::ICEServerPeerInformation:
|
||||
processICEPeerInformation(receivedPacket);
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -422,10 +422,10 @@ void NodeList::sendDSPathQuery(const QString& newPath) {
|
|||
|
||||
if (numPathBytes + sizeof(numPathBytes) < pathQueryPacket.size() ) {
|
||||
// append the size of the path to the query packet
|
||||
pathQueryPacket.write(&numPathBytes, sizeof(numPathBytes));
|
||||
pathQueryPacket->write(&numPathBytes, sizeof(numPathBytes));
|
||||
|
||||
// append the path itself to the query packet
|
||||
pathQueryPacket.write(pathQueryUTF8);
|
||||
pathQueryPacket->write(pathQueryUTF8);
|
||||
|
||||
qCDebug(networking) << "Sending a path query packet for path" << newPath << "to domain-server at"
|
||||
<< _domainHandler.getSockAddr();
|
||||
|
|
|
@ -52,8 +52,8 @@ namespace PacketType {
|
|||
DomainServerPathQuery,
|
||||
DomainServerPathResponse,
|
||||
DomainServerAddedNode,
|
||||
IceServerPeerInformation,
|
||||
IceServerQuery, // 25
|
||||
ICEServerPeerInformation,
|
||||
ICEServerQuery, // 25
|
||||
OctreeStats,
|
||||
Jurisdiction,
|
||||
JurisdictionRequest,
|
||||
|
|
Loading…
Reference in a new issue