Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/protocols/rdp/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -1331,8 +1331,8 @@ guac_rdp_settings* guac_rdp_parse_args(guac_user* user,

/* If WoL has been requested but no MAC address given, log a warning. */
if(strcmp(argv[IDX_WOL_MAC_ADDR], "") == 0) {
guac_user_log(user, GUAC_LOG_WARNING, "WoL requested but no MAC ",
"address specified. WoL will not be sent.");
guac_user_log(user, GUAC_LOG_WARNING, "WoL was enabled, but no "
"MAC address was provided. WoL will not be sent.");
settings->wol_send_packet = 0;
}

Expand Down
4 changes: 2 additions & 2 deletions src/protocols/ssh/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,8 @@ guac_ssh_settings* guac_ssh_parse_args(guac_user* user,
if (settings->wol_send_packet) {

if (strcmp(argv[IDX_WOL_MAC_ADDR], "") == 0) {
guac_user_log(user, GUAC_LOG_WARNING, "WoL was enabled, but no ",
"MAC address was provide. WoL will not be sent.");
guac_user_log(user, GUAC_LOG_WARNING, "WoL was enabled, but no "
"MAC address was provided. WoL will not be sent.");
settings->wol_send_packet = false;
}

Expand Down
4 changes: 2 additions & 2 deletions src/protocols/telnet/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,8 @@ guac_telnet_settings* guac_telnet_parse_args(guac_user* user,

/* If WoL has been enabled but no MAC provided, log warning and disable. */
if(strcmp(argv[IDX_WOL_MAC_ADDR], "") == 0) {
guac_user_log(user, GUAC_LOG_WARNING, "Wake on LAN was requested, ",
"but no MAC address was specified. WoL will not be sent.");
guac_user_log(user, GUAC_LOG_WARNING, "WoL was enabled, but no "
"MAC address was provided. WoL will not be sent.");
settings->wol_send_packet = false;
}

Expand Down
4 changes: 2 additions & 2 deletions src/protocols/vnc/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,8 @@ guac_vnc_settings* guac_vnc_parse_args(guac_user* user,

/* If WoL has been enabled but no MAC provided, log warning and disable. */
if(strcmp(argv[IDX_WOL_MAC_ADDR], "") == 0) {
guac_user_log(user, GUAC_LOG_WARNING, "Wake on LAN was requested, ",
"but no MAC address was specified. WoL will not be sent.");
guac_user_log(user, GUAC_LOG_WARNING, "WoL was enabled, but no "
"MAC address was provided. WoL will not be sent.");
settings->wol_send_packet = false;
}

Expand Down