mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[channels,rdpei] add log message for unknown protocol versions
This commit is contained in:
@@ -785,15 +785,13 @@ static UINT rdpei_recv_sc_ready_pdu(GENERIC_CHANNEL_CALLBACK* callback, wStream*
|
||||
if (rdpei->version > protocolVersion)
|
||||
rdpei->version = protocolVersion;
|
||||
rdpei->features = features;
|
||||
#if 0
|
||||
|
||||
if (protocolVersion != RDPINPUT_PROTOCOL_V10)
|
||||
if (protocolVersion > RDPINPUT_PROTOCOL_V300)
|
||||
{
|
||||
WLog_Print(rdpei->base.log, WLOG_ERROR, "Unknown [MS-RDPEI] protocolVersion: 0x%08"PRIX32"", protocolVersion);
|
||||
return -1;
|
||||
WLog_Print(rdpei->base.log, WLOG_WARN,
|
||||
"Unknown [MS-RDPEI] protocolVersion: 0x%08" PRIX32 "", protocolVersion);
|
||||
}
|
||||
|
||||
#endif
|
||||
return CHANNEL_RC_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user