From 2804f2d241477a8b3b506817ec6cbc55ae1f46b0 Mon Sep 17 00:00:00 2001 From: David Schweizer Date: Mon, 14 Jun 2021 08:41:10 +0200 Subject: [PATCH] ospf6d: Link state ID in LSA database JSON output Added link state ID to JSON output of LSA database. Signed-off-by: David Schweizer --- ospf6d/ospf6_lsa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index a8f523295b..d627194252 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",