mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:24:24 +02:00
fix a debug line in LimitedNodeList
This commit is contained in:
parent
06a976041b
commit
afcb542bbe
1 changed files with 2 additions and 2 deletions
|
@ -112,14 +112,14 @@ QUdpSocket& LimitedNodeList::getDTLSSocket() {
|
||||||
int socketHandle = _dtlsSocket->socketDescriptor();
|
int socketHandle = _dtlsSocket->socketDescriptor();
|
||||||
#if defined(IP_DONTFRAG)
|
#if defined(IP_DONTFRAG)
|
||||||
int optValue = 1;
|
int optValue = 1;
|
||||||
setsockopt(socketHandle, IPPROTO_IP, IP_DONTFRAG, reinterpret_cast<const void*>(&optValue), sizeof(optValue));
|
setsockopt(socketHandle, IPPROTO_IP, IP_DONTFRAG, reinterpret_cast<const void*>(&optValue, sizeof(optValue));
|
||||||
#elif defined(IP_MTU_DISCOVER)
|
#elif defined(IP_MTU_DISCOVER)
|
||||||
int optValue = 1;
|
int optValue = 1;
|
||||||
setsockopt(socketHandle, IPPROTO_IP, IP_MTU_DISCOVER, reinterpret_cast<const void*>(&optValue), sizeof(optValue));
|
setsockopt(socketHandle, IPPROTO_IP, IP_MTU_DISCOVER, reinterpret_cast<const void*>(&optValue), sizeof(optValue));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
qDebug() << "NodeList DTLS socket is listening on" << _dtlsSocket->localPort();
|
qDebug() << "LimitedNodeList DTLS socket is listening on" << _dtlsSocket->localPort();
|
||||||
}
|
}
|
||||||
|
|
||||||
return *_dtlsSocket;
|
return *_dtlsSocket;
|
||||||
|
|
Loading…
Reference in a new issue