diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-02-02 17:35:49 +0100 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-02-02 17:35:49 +0100 |
commit | 281d661fc9c7f1ee9777ff17c2de88cd8ec959a4 (patch) | |
tree | 68aea9e1a3fe1726374bab0457b15ba86534ac62 | |
parent | 1379ee95f49cdcbfebad507e96b531d358506952 (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"; } |