summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_rdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
-rw-r--r--libxrdp/xrdp_rdp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c
index 27c61dc4..777b7651 100644
--- a/libxrdp/xrdp_rdp.c
+++ b/libxrdp/xrdp_rdp.c
@@ -102,6 +102,13 @@ xrdp_rdp_read_config(struct xrdp_client_info* client_info)
client_info->crypt_level = 3;
}
}
+ else if (g_strcasecmp(item, "channel_code") == 0)
+ {
+ if (g_strcasecmp(value, "1") == 0)
+ {
+ client_info->channel_code = 1;
+ }
+ }
}
list_delete(items);
list_delete(values);