From: David Schweizer Date: Mon, 14 Jun 2021 06:41:10 +0000 (+0200) Subject: ospf6d: Link state ID in LSA database JSON output X-Git-Tag: base_8.1~428^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=2804f2d241477a8b3b506817ec6cbc55ae1f46b0;p=mirror%2Ffrr.git ospf6d: Link state ID in LSA database JSON output Added link state ID to JSON output of LSA database. Signed-off-by: David Schweizer --- 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",