summaryrefslogtreecommitdiffstats
path: root/src/rest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest.c')
-rw-r--r--src/rest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rest.c b/src/rest.c
index 2743f13..9483795 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -389,6 +389,7 @@ static int og_json_client_append(json_t *array, struct og_client *client)
return -1;
}
json_object_set_new(object, "state", state);
+ json_object_set_new(object, "speed", json_integer(client->speed));
json_array_append_new(array, object);
return 0;