diff --git a/Redirector/DNSHandler.cpp b/Redirector/DNSHandler.cpp index 0ce0a550..edd5c25d 100644 --- a/Redirector/DNSHandler.cpp +++ b/Redirector/DNSHandler.cpp @@ -23,7 +23,7 @@ void ProcessPacket(ENDPOINT_ID id, SOCKADDR_IN6 target, char* packet, int length { if (udpConn.Send(&dnsAddr, packet, length) == length) { - timeval timeout; + timeval timeout{}; timeout.tv_sec = 4; int size = udpConn.Read(NULL, buffer, sizeof(buffer), &timeout);