mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
send first clientstring via network and then parse
This commit is contained in:
parent
3b6f6e1fc4
commit
c6336b7c48
1 changed files with 3 additions and 2 deletions
|
@ -599,10 +599,11 @@ static void ubus_get_clients_cb(struct ubus_request *req, int type, struct blob_
|
|||
if (!msg)
|
||||
return;
|
||||
|
||||
parse_to_clients(msg, 1, req->peer);
|
||||
|
||||
char *str = blobmsg_format_json(msg, true);
|
||||
send_string_enc(str);
|
||||
|
||||
parse_to_clients(msg, 1, req->peer);
|
||||
|
||||
print_client_array();
|
||||
print_ap_array();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue