From 462a24299986bf406c5747e90af1b8a1e57234bc Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Thu, 26 Jan 2023 16:07:24 +0100 Subject: [PATCH] isisd: Add SRv6 Locator TLV to TLVs format func Extend generic TLVs format function to return information about SRv6 Locator TLVs (RFC 9352 section #7.1). Signed-off-by: Carmine Scarpitta --- isisd/isis_tlvs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index 34da8aeb4e..4664dc1a68 100644 --- a/isisd/isis_tlvs.c +++ b/isisd/isis_tlvs.c @@ -5768,6 +5768,9 @@ static void format_tlvs(struct isis_tlvs *tlvs, struct sbuf *buf, struct json_ob format_tlv_threeway_adj(tlvs->threeway_adj, buf, json, indent); format_tlv_spine_leaf(tlvs->spine_leaf, buf, json, indent); + + format_mt_items(ISIS_CONTEXT_LSP, ISIS_TLV_SRV6_LOCATOR, + &tlvs->srv6_locator, buf, json, indent); } const char *isis_format_tlvs(struct isis_tlvs *tlvs, struct json_object *json)