From d4b58f6dce665979a615cf5b73521ee37140e1d0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 Mar 2016 19:07:51 +0300 Subject: Show hex packet id in for wrong packet sizes. --- src/logger.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/logger.cpp') diff --git a/src/logger.cpp b/src/logger.cpp index 2368f6f2e..89077b021 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -414,7 +414,8 @@ void Logger::unimplimented(const uint32_t id, const std::string str = strprintf( "Wrong actual or planned inbound packet size!. " - "Packet id: %u, Planned size: %u, Actual size: %u", + "Packet id: %u(0x%x), Planned size: %u, Actual size: %u", + id, id, id2, id3); -- cgit v1.2.3-70-g09d2