From 023c2dba6ea13411792e12aac925857c8371b7d8 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Wed, 23 Aug 2023 10:57:59 +0200 Subject: [PATCH] [core,autodetect] log unknown message types --- libfreerdp/core/autodetect.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libfreerdp/core/autodetect.c b/libfreerdp/core/autodetect.c index c289beab2..5643431ad 100644 --- a/libfreerdp/core/autodetect.c +++ b/libfreerdp/core/autodetect.c @@ -884,6 +884,8 @@ state_run_t autodetect_recv_request_packet(rdpAutoDetect* autodetect, RDP_TRANSP break; default: + WLog_Print(autodetect->log, WLOG_ERROR, "Unknown requestType=0x%04" PRIx16, + autodetectReqPdu.requestType); break; } @@ -972,6 +974,8 @@ state_run_t autodetect_recv_response_packet(rdpAutoDetect* autodetect, RDP_TRANS break; default: + WLog_Print(autodetect->log, WLOG_ERROR, "Unknown responseType=0x%04" PRIx16, + autodetectRspPdu.responseType); break; }