summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-01-10 18:27:03 -0200
committerRenato Westphal <renato@openbsd.org>2017-01-13 14:43:44 -0200
commita5d105121746cc254ee769f244abeb2f898aca5d (patch)
tree1052dbf88f1d48d3bb86d63167a061adcd0061ff /lib/json.c
parente8dbef04205345773a3d7c9be7de0fda26061db0 (diff)
ldpd: reorganize json support and fix a few issues
* reorganize code to improve maintainability; * add json output for the l2vpn show commands as well; * in "show mpls ldp discovery json", nest the adjacencies inside the respective interfaces. Also, fix a segfault when trying to show a targeted adjacency; * in "show mpls ldp neighbor", show the address-family of the adjacencies of each neighbor. Also, remove "downstreamUnsolicited":true from the output; * in "show mpls ldp interface json", show all interface/address-family combinations; Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions