diff --git a/constants.h b/constants.h index ed0dd4d..15b6bb3 100644 --- a/constants.h +++ b/constants.h @@ -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 diff --git a/rdp.c b/rdp.c index b51eb40..89a5d95 100644 --- a/rdp.c +++ b/rdp.c @@ -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); }