From 1a13d736f2815c18f5b14d8c6f066c94161bc26c Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Wed, 1 Jul 2026 16:30:45 -0400 Subject: [PATCH] report IP and port for oversized packet warning; --- src/common/network/FrameQueue.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/network/FrameQueue.cpp b/src/common/network/FrameQueue.cpp index 8799e794..cb7aebec 100644 --- a/src/common/network/FrameQueue.cpp +++ b/src/common/network/FrameQueue.cpp @@ -202,7 +202,8 @@ void FrameQueue::enqueueMessage(udp::BufferQueue* queue, const uint8_t* message, // bryanb: this is really a developer warning not a end-user warning, there's nothing the end-users can do about // this message if (bufferLen > (DATA_PACKET_LENGTH - OVERSIZED_PACKET_WARN)) { - LogDebug(LOG_NET, "FrameQueue::enqueueMessage(), WARN: packet length is possibly oversized, possible data truncation - BUGBUG"); + LogWarning(LOG_NET, "FrameQueue::enqueueMessage(), WARN: packet length is possibly oversized, possible data truncation - BUGBUG, address = %s, port = %u", + udp::Socket::address(addr).c_str(), udp::Socket::port(addr)); } udp::UDPDatagram *dgram = new udp::UDPDatagram;