summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-02-02 17:35:49 +0100
committerJose M. Guisado <jguisado@soleta.eu>2022-02-02 17:35:49 +0100
commit281d661fc9c7f1ee9777ff17c2de88cd8ec959a4 (patch)
tree68aea9e1a3fe1726374bab0457b15ba86534ac62
parent1379ee95f49cdcbfebad507e96b531d358506952 (diff)
#1065 og_client_status compatible with webconsole
Report linux and windows client status in a compatible manner with webconsole. This way clients are colored accordingly in a room view depending on their status. WIN/WINS: Windows, Windows session LNX/LNXS: Linux, Linux session
-rw-r--r--src/rest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rest.c b/src/rest.c
index dab4ee2..37dcc99 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -133,13 +133,13 @@ static const char *og_client_status(const struct og_client *cli)
case OG_CLIENT_STATUS_VIRTUAL:
return "VDI";
case OG_CLIENT_STATUS_LINUX:
- return "LINUX";
+ return "LNX";
case OG_CLIENT_STATUS_LINUX_SESSION:
- return "LINUX-SESSION";
+ return "LNXS";
case OG_CLIENT_STATUS_WIN:
return "WIN";
case OG_CLIENT_STATUS_WIN_SESSION:
- return "WIN-SESSION";
+ return "WINS";
default:
return "OFF";
}