From 101796b529ae25f8a8831f45e7523e193cba781b Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Wed, 20 Nov 2019 12:50:35 +0100 Subject: #915 Fix error: run_command needs parameter 'cadenamac' for WOL. --- admin/WebConsole/comandos/gestores/gestor_Comandos.php | 4 ++-- 1 file 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; -- cgit v1.2.3-18-g5258