mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 17:04:20 +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;
|
static std::unique_ptr<NLPacket> dtlsRequiredPacket;
|
||||||
|
|
||||||
if (!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
|
// pack the port that we accept DTLS traffic on
|
||||||
unsigned short dtlsPort = limitedNodeList->getDTLSSocket().localPort();
|
unsigned short dtlsPort = limitedNodeList->getDTLSSocket().localPort();
|
||||||
|
|
Loading…
Reference in a new issue