aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 12:24:06 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 12:24:06 +0200
commitb8783d01de471a9aa3e2160ce84c066fce292aff (patch)
treea2a41f30a0e1a46e2578195761b655a285955611 /src
parentef7f267b4de944edefeafd877a9ede45c7b6fb9f (diff)
downloadremote-logon-service-b8783d01de471a9aa3e2160ce84c066fce292aff.tar.gz
remote-logon-service-b8783d01de471a9aa3e2160ce84c066fce292aff.tar.bz2
remote-logon-service-b8783d01de471a9aa3e2160ce84c066fce292aff.zip
src/server.c: Allow proto name freerdp2 for RDP sessions.
Diffstat (limited to 'src')
-rw-r--r--src/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.c b/src/server.c
index 3272b76..bbab8ee 100644
--- a/src/server.c
+++ b/src/server.c
@@ -162,7 +162,7 @@ server_new_from_json (JsonObject * object)
if (g_strcmp0(proto, "ICA") == 0 || g_strcmp0(proto, "ica") == 0) {
newserver = citrix_server_new_from_json(object);
}
- else if (g_strcmp0(proto, "freerdp") == 0 || g_strcmp0(proto, "rdp") == 0 || g_strcmp0(proto, "RDP") == 0 || g_strcmp0(proto, "FreeRDP") == 0) {
+ else if (g_strcmp0(proto, "freerdp") == 0 || g_strcmp0(proto, "rdp") == 0 || g_strcmp0(proto, "freerdp2") == 0 || g_strcmp0(proto, "RDP") == 0 || g_strcmp0(proto, "FreeRDP") == 0) || g_strcmp0(proto, "FreeRDP2") == 0 {
newserver = rdp_server_new_from_json(object);
}
else if (g_strcmp0(proto, "x2go") == 0 || g_strcmp0(proto, "X2go") == 0 || g_strcmp0(proto, "X2Go") == 0 || g_strcmp0(proto, "X2GO") == 0 || g_strcmp0(proto, "x2GO") == 0 || g_strcmp0(proto, "x2gO") == 0) {