mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 15:43:17 +02:00
add a missing bracket to IP_DONTFRAG
This commit is contained in:
parent
afcb542bbe
commit
505145f693
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ QUdpSocket& LimitedNodeList::getDTLSSocket() {
|
|||
int socketHandle = _dtlsSocket->socketDescriptor();
|
||||
#if defined(IP_DONTFRAG)
|
||||
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)
|
||||
int optValue = 1;
|
||||
setsockopt(socketHandle, IPPROTO_IP, IP_MTU_DISCOVER, reinterpret_cast<const void*>(&optValue), sizeof(optValue));
|
||||
|
|
Loading…
Reference in a new issue