Skip to content

Commit

Permalink
isisd: Add SRv6 End SID to Sub-TLVs format func
Browse files Browse the repository at this point in the history
Extend generic Sub-TLVs format function to return information about
SRv6 End SID Sub-TLVs (RFC 9352 section sonic-net#7.2).

Signed-off-by: Carmine Scarpitta <[email protected]>
  • Loading branch information
cscarpitta committed Sep 11, 2023
1 parent fbc3637 commit 64d3629
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions isisd/isis_tlvs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2014,6 +2014,9 @@ static void format_subtlvs(struct isis_subtlvs *subtlvs, struct sbuf *buf,
&subtlvs->prefix_sids, buf, json, indent);

format_subtlv_ipv6_source_prefix(subtlvs->source_prefix, buf, json, indent);

format_items(subtlvs->context, ISIS_SUBTLV_SRV6_END_SID,
&subtlvs->srv6_end_sids, buf, json, indent);
}

static void isis_free_subtlvs(struct isis_subtlvs *subtlvs)
Expand Down

0 comments on commit 64d3629

Please sign in to comment.