Change RDP default security to RDP.
This commit is contained in:
parent
9d47ae0a50
commit
73df645ce6
@ -468,11 +468,17 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
|
||||
}
|
||||
|
||||
/* ANY security (allow server to choose) */
|
||||
else {
|
||||
else if (strcmp(argv[IDX_SECURITY], "any") == 0) {
|
||||
guac_client_log_info(client, "Security mode: ANY");
|
||||
settings->security_mode = GUAC_SECURITY_ANY;
|
||||
}
|
||||
|
||||
/* If nothing given, default to RDP */
|
||||
else {
|
||||
guac_client_log_info(client, "No security mode specified. Defaulting to RDP.");
|
||||
settings->security_mode = GUAC_SECURITY_RDP;
|
||||
}
|
||||
|
||||
/* Set hostname */
|
||||
settings->hostname = strdup(argv[IDX_HOSTNAME]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user