diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-06-25 11:21:00 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-26 14:36:22 +0200 |
commit | c0f5d2c2068968822c2d1d397bf84447ae2e5642 (patch) | |
tree | 6ae065aadd107e97413238104bbd7a0ee9da5344 /sources/client.c | |
parent | f6f1f18bd8ccb42a5cfb6531cd627e07cbb212f0 (diff) |
#980 Add Virtual status
Since version 1.2.0, OpenGnsys supports ogVDI hypervisor OS. This commit
a new status which indicates that clients are running ogVDI.
Diffstat (limited to 'sources/client.c')
-rw-r--r-- | sources/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/client.c b/sources/client.c index c93c74a..60a84cb 100644 --- a/sources/client.c +++ b/sources/client.c @@ -105,6 +105,8 @@ static int og_resp_probe(struct og_client *cli, json_t *data) cli->status = OG_CLIENT_STATUS_BUSY; else if (!strcmp(status, "OPG")) cli->status = OG_CLIENT_STATUS_OGLIVE; + else if (!strcmp(status, "VDI")) + cli->status = OG_CLIENT_STATUS_VIRTUAL; return status ? 0 : -1; } |