From c8caf6ba33f7e60809ca139af24b25adef66d70d Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sat, 8 Nov 2025 17:46:29 -0500 Subject: [PATCH] feat: update NLPacket creation in sendPing to use correct version for Ping --- src/OverteClient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OverteClient.cpp b/src/OverteClient.cpp index 5b325c9..51108d1 100644 --- a/src/OverteClient.cpp +++ b/src/OverteClient.cpp @@ -575,8 +575,8 @@ void OverteClient::sendDomainListRequest() { } void OverteClient::sendPing(int fd, const sockaddr_storage& addr, socklen_t addrLen) { - // Create NLPacket for Ping - NLPacket packet(PacketType::Ping, 0, false); // version 0, not reliable for pings + // Create NLPacket for Ping with correct version + NLPacket packet(PacketType::Ping, PacketVersions::Ping_IncludeConnectionID, false); packet.setSequenceNumber(m_sequenceNumber++); // Add timestamp (microseconds since epoch)