Skip to content

Commit

Permalink
WIP (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
genofire committed Dec 7, 2018
1 parent adbd930 commit 4c68d35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/respondd-module-lldp/src/respondd.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ static struct json_object * respondd_provider_neighbours(void) {

json_object_object_add(neighbors_obj, neighmac, json_object_new_object());
}
lldpctl_atom_dec_ref(neighbors);
json_object_object_add(ret_lldp, portmac, neighbors_obj);
}
lldpctl_release(conn);

ret = json_object_new_object();
json_object_object_add(ret, "lldp", ret_lldp);
Expand Down

0 comments on commit 4c68d35

Please sign in to comment.