--- sourceforge.net/trunk/rdesktop/rdp.c 2002/12/07 18:35:29 282 +++ sourceforge.net/trunk/rdesktop/rdp.c 2002/12/10 17:24:27 283 @@ -79,6 +79,13 @@ } in_uint16_le(rdp_s, length); + /* 32k packets are really 8, keepalive fix */ + if (length == 0x8000) + { + next_packet += 8; + *type = 0; + return rdp_s; + } in_uint16_le(rdp_s, pdu_type); in_uint8s(rdp_s, 2); /* userid */ *type = pdu_type & 0xf; @@ -712,6 +719,9 @@ process_data_pdu(s); break; + case 0: + break; + default: unimpl("PDU %d\n", type); }