mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 07:53:52 +02:00
specify the size of the DTLS required packet
This commit is contained in:
parent
adf2ce85f1
commit
cafa8b65f5
1 changed files with 1 additions and 1 deletions
|
@ -1118,7 +1118,7 @@ void DomainServer::readAvailableDatagrams() {
|
|||
static std::unique_ptr<NLPacket> dtlsRequiredPacket;
|
||||
|
||||
if (!dtlsRequiredPacket) {
|
||||
dtlsRequiredPacket = NLPacket::create(PacketType::DomainServerRequireDTLS);
|
||||
dtlsRequiredPacket = NLPacket::create(PacketType::DomainServerRequireDTLS, sizeof(unsigned short));
|
||||
|
||||
// pack the port that we accept DTLS traffic on
|
||||
unsigned short dtlsPort = limitedNodeList->getDTLSSocket().localPort();
|
||||
|
|
Loading…
Reference in a new issue