Indicate its FIRST and LAST PDU for pesistent_key_list.

If first is not indicate, Windows XP reply with ERRINFO_PERSISTENT_KEY_PDU_TOO_MANY_CACHE_KEYS.
This commit is contained in:
Nicolas Graziano 2011-10-11 23:53:50 +02:00
parent 5cf5e2171a
commit d3652a7251
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ void rdp_write_client_persistent_key_list_pdu(STREAM* s, rdpSettings* settings)
stream_write_uint16(s, 0); /* totalEntriesCache2 (2 bytes) */
stream_write_uint16(s, 0); /* totalEntriesCache3 (2 bytes) */
stream_write_uint16(s, 0); /* totalEntriesCache4 (2 bytes) */
stream_write_uint8(s, PERSIST_LAST_PDU); /* bBitMask (1 byte) */
stream_write_uint8(s, PERSIST_FIRST_PDU | PERSIST_LAST_PDU); /* bBitMask (1 byte) */
stream_write_uint8(s, 0); /* pad1 (1 byte) */
stream_write_uint16(s, 0); /* pad3 (2 bytes) */