[core,autodetect] log unknown message types

This commit is contained in:
akallabeth 2023-08-23 10:57:59 +02:00 committed by akallabeth
parent 769ffbd8a0
commit 023c2dba6e
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}