fix: parse mac as json struct - maybe

This commit is contained in:
genofire 2022-08-21 19:27:03 +02:00
parent 4dcb731d26
commit 53cc1f5882
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ static struct json_object * respondd_provider_neighbours(void) {
if (!neighmac)
continue;
json_object_array_add(neighbors_array, neighmac);
json_object_array_add(neighbors_array, json_object_new_string(neighmac));
}
lldpctl_atom_dec_ref(neighbors);
json_object_object_add(ret_lldp, portmac, neighbors_array);