summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_lsa.c
diff options
context:
space:
mode:
authorDavid Schweizer <dschweizer@opensourcerouting.org>2021-06-14 08:41:10 +0200
committerDavid Schweizer <dschweizer@opensourcerouting.org>2021-06-14 08:41:10 +0200
commit2804f2d241477a8b3b506817ec6cbc55ae1f46b0 (patch)
tree5b3a7a36ef081a8df16f41ceb9a8c47fc3faa800 /ospf6d/ospf6_lsa.c
parentMerge pull request #8831 from sworleys/Fix-No-Ospf-Func (diff)
downloadfrr-2804f2d241477a8b3b506817ec6cbc55ae1f46b0.tar.xz
frr-2804f2d241477a8b3b506817ec6cbc55ae1f46b0.zip
ospf6d: Link state ID in LSA database JSON output
Added link state ID to JSON output of LSA database. Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_lsa.c')
-rw-r--r--ospf6d/ospf6_lsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c
index a8f523295..d62719425 100644
--- a/ospf6d/ospf6_lsa.c
+++ b/ospf6d/ospf6_lsa.c
@@ -654,6 +654,7 @@ void ospf6_lsa_show(struct vty *vty, struct ospf6_lsa *lsa,
ospf6_lsa_age_current(lsa));
json_object_string_add(json_obj, "type",
ospf6_lstype_name(lsa->header->type));
+ json_object_string_add(json_obj, "linkStateId", id);
json_object_string_add(json_obj, "advertisingRouter",
adv_router);
json_object_int_add(json_obj, "lsSequenceNumber",