summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-04-29 14:33:22 +0000
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-04-29 16:47:25 +0200
commitd4a20cbe01c3d5a9afd1902b880e46c3fc442b1d (patch)
treeede753e66df88bd1c729332fc634c5906efb949a /admin/WebConsole/rest
parented89e603e0b4c9d1bff617df9c127031001ed008 (diff)
#1043 Add WOL_SENT state support
Adds ogServer wol state, used to report WoL packet sending. This state can timeout (returning to off) or change to a new state after clients report a new one.
Diffstat (limited to 'admin/WebConsole/rest')
-rw-r--r--admin/WebConsole/rest/server.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/WebConsole/rest/server.php b/admin/WebConsole/rest/server.php
index a6256a2e..12b874ed 100644
--- a/admin/WebConsole/rest/server.php
+++ b/admin/WebConsole/rest/server.php
@@ -81,6 +81,7 @@ function getStatus($ouid, $labid, $clntid=0) {
'LNX'=>"linux",
'OSX'=>"macos",
'WIN'=>"windows",
+ 'WOL_SENT'=>"wol_sent",
'UNK'=>"unknown"];
// Parameters.
$ouid = htmlspecialchars($ouid);