Commit b12274e2 authored by chrissi^'s avatar chrissi^

gluon-wireguard: fix generated json

Signed-off-by: chrissi^'s avatarChrissi^ <chris@tinyhost.de>
parent 874098f0
......@@ -90,7 +90,7 @@ struct json_object * get_wireguard_handshakes()
json_object_object_add(json_ptr, "transfer_tx", json_val);
wg_key_to_base64(pubkey, peer->public_key);
json_object_object_add(json_peers, pubkey, json_ptr);
json_object_object_add(json_ptr, pubkey, json_peers);
}
wg_free_device(device);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment