mirror of https://git.48k.eu/ogserver
#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 sessionmaster
parent
1379ee95f4
commit
281d661fc9
|
@ -133,13 +133,13 @@ static const char *og_client_status(const struct og_client *cli)
|
||||||
case OG_CLIENT_STATUS_VIRTUAL:
|
case OG_CLIENT_STATUS_VIRTUAL:
|
||||||
return "VDI";
|
return "VDI";
|
||||||
case OG_CLIENT_STATUS_LINUX:
|
case OG_CLIENT_STATUS_LINUX:
|
||||||
return "LINUX";
|
return "LNX";
|
||||||
case OG_CLIENT_STATUS_LINUX_SESSION:
|
case OG_CLIENT_STATUS_LINUX_SESSION:
|
||||||
return "LINUX-SESSION";
|
return "LNXS";
|
||||||
case OG_CLIENT_STATUS_WIN:
|
case OG_CLIENT_STATUS_WIN:
|
||||||
return "WIN";
|
return "WIN";
|
||||||
case OG_CLIENT_STATUS_WIN_SESSION:
|
case OG_CLIENT_STATUS_WIN_SESSION:
|
||||||
return "WIN-SESSION";
|
return "WINS";
|
||||||
default:
|
default:
|
||||||
return "OFF";
|
return "OFF";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue