Removed Xserver/ directory, it does nothing useful ATM.
[rdpsrv] / mcs.c
diff --git a/mcs.c b/mcs.c
index f6a945a..5f4fe20 100644 (file)
--- a/mcs.c
+++ b/mcs.c
@@ -141,6 +141,7 @@ mcs_parse_domain_params(STREAM s)
                printf("max_pdusize=%u\n", max_pdusize);
                printf("ver_protocol=%u\n", ver_protocol);
        } else {
+               hexdump(s->p, length);
                in_uint8s(s, length);
        }
        
@@ -204,10 +205,10 @@ mcs_send_connect_response()
        out_uint8s(s, 21);   // ick
        out_uint8(s, 0);
 
-       // server info -- we claim to support RDP1
+       // server info -- we claim to support RDP5
        out_uint16_le(s, SEC_TAG_SRV_INFO);
        out_uint16_le(s, 6);  // length
-       out_uint16_le(s, 1);
+       out_uint16_le(s, 5);
 
        // crypto info
        out_uint16_le(s, SEC_TAG_SRV_CRYPT);