From 157dd74f17c451dcf847c933ec4c2948ef9679d0 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sat, 8 Nov 2025 18:23:38 -0500 Subject: [PATCH] feat: simplify debug output for protocol version signature computation in NLPacket --- src/NLPacketCodec.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/NLPacketCodec.cpp b/src/NLPacketCodec.cpp index de688f7..ba98fe5 100644 --- a/src/NLPacketCodec.cpp +++ b/src/NLPacketCodec.cpp @@ -482,11 +482,7 @@ std::vector NLPacket::computeProtocolVersionSignature() { PacketType type = static_cast(i); uint8_t version = versionForPacketType(type); buffer.push_back(version); - if (i < 20 || i >= numPacketTypes - 10) { // Print first 20 and last 10 - std::cout << " Type " << (int)i << ": version " << (int)version << std::endl; - } else if (i == 20) { - std::cout << " ... (middle entries omitted) ..." << std::endl; - } + std::cout << " Type " << (int)i << ": version " << (int)version << std::endl; } // Compute MD5 hash