summaryrefslogtreecommitdiffstats
path: root/src/server/rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/rpc.c')
-rw-r--r--src/server/rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/rpc.c b/src/server/rpc.c
index ea1eccf..f010e73 100644
--- a/src/server/rpc.c
+++ b/src/server/rpc.c
@@ -55,7 +55,7 @@ static void clientsToJson(json_t *jsonClients)
if ( !host_to_string( &_clients[i]->host, clientName, sizeof(clientName) ) ) {
strcpy( clientName, "???" );
}
- clientStats = json_pack( "{sssisI}", "client", clientName, "image", _clients[i]->image->id, "bytesSent", (json_int_t)_clients[i]->bytesSent );
+ clientStats = json_pack( "{sssisI}", "address", clientName, "imageId", _clients[i]->image->id, "bytesSent", (json_int_t)_clients[i]->bytesSent );
json_array_append_new( jsonClients, clientStats );
}
spin_unlock( &_clients[i]->lock );