Don't complain about data PDU 47 - seems to be normal when disconnecting

from a console session on XP and 2003.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@521 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Matt Chapman 2003-10-29 04:18:00 +00:00
parent c360aa4039
commit c59e388bd5
2 changed files with 8 additions and 1 deletions

View File

@ -116,7 +116,8 @@ enum RDP_DATA_PDU_TYPE
RDP_DATA_PDU_SYNCHRONISE = 31,
RDP_DATA_PDU_BELL = 34,
RDP_DATA_PDU_LOGON = 38,
RDP_DATA_PDU_FONT2 = 39
RDP_DATA_PDU_FONT2 = 39,
RDP_DATA_PDU_DISCONNECT = 47
};
enum RDP_CONTROL_PDU_TYPE

6
rdp.c
View File

@ -864,6 +864,12 @@ process_data_pdu(STREAM s)
/* User logged on */
break;
case RDP_DATA_PDU_DISCONNECT:
/* Normally received when user logs out or disconnects from a
console session on Windows XP and 2003 Server */
DEBUG(("Received disconnect PDU\n"));
break;
default:
unimpl("data PDU %d\n", data_pdu_type);
}