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:
|
||||
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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue