mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 15:34:05 +02:00
use Packet for IceServer packets
This commit is contained in:
parent
089cb8a39e
commit
22b3ce8759
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ SharedNetworkPeer IceServer::addOrUpdateHeartbeatingPeer(const QByteArray& incom
|
|||
}
|
||||
|
||||
void IceServer::sendPeerInformationPacket(const NetworkPeer& peer, const HifiSockAddr* destinationSockAddr) {
|
||||
auto peerPacket { NLPacket::create(PacketType::IceServerPeerInformation); }
|
||||
auto peerPacket = Packet::create(PacketType::IceServerPeerInformation);
|
||||
|
||||
// get the byte array for this peer
|
||||
peerPacket->write(peer.toByteArray());
|
||||
|
|
Loading…
Reference in a new issue