diff options
author | Irina Gómez <irinagomez@us.es> | 2019-11-20 12:50:35 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2019-11-20 12:50:35 +0100 |
commit | 101796b529ae25f8a8831f45e7523e193cba781b (patch) | |
tree | fd27f91bfb3904ef8e5beed8b11b68259f879d8a /admin/WebConsole/comandos | |
parent | d2e7f10f7afb40c28e8a3a73354e9d4e5dba3405 (diff) |
#915 Fix error: run_command needs parameter 'cadenamac' for WOL.
Diffstat (limited to 'admin/WebConsole/comandos')
-rw-r--r-- | admin/WebConsole/comandos/gestores/gestor_Comandos.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/WebConsole/comandos/gestores/gestor_Comandos.php b/admin/WebConsole/comandos/gestores/gestor_Comandos.php index e2e239b0..48fc8f03 100644 --- a/admin/WebConsole/comandos/gestores/gestor_Comandos.php +++ b/admin/WebConsole/comandos/gestores/gestor_Comandos.php @@ -35,7 +35,7 @@ define('OG_CMD_ID_CREATE_INCREMENTAL_IMAGE', 14); define('OG_CMD_ID_RESTORE_INCREMENTAL_IMAGE', 15); define('OG_CMD_ID_SENDMESSAGE', 16); -function run_command($idcomando, $cadenaip, $atributos) { +function run_command($idcomando, $cadenaip, $cadenamac, $atributos) { switch ($idcomando) { case OG_CMD_ID_WAKEUP: include("wakeonlan_repo.php"); @@ -233,7 +233,7 @@ if($sw_ejya=='on' || $sw_ejprg=="on" ){ if ($sw_seguimiento == 1 || $sw_ejprg == "on") run_schedule($cadenaip); else - run_command($idcomando, $cadenaip, $atributos); + run_command($idcomando, $cadenaip, $cadenamac, $atributos); // En agente nuevo devuelvo siempre correcto $resulhidra = 1; |