mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 15:33:34 +00:00
isisd: Free Sub-Sub-TLVs of SRv6 End SID Sub-TLV
Extend SRv6 End SID Sub-TLV free function to free Sub-Sub-TLVs (RFC 9352 section #9). Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
This commit is contained in:
parent
584f41d8f3
commit
422ea2d410
@ -2187,6 +2187,10 @@ static void format_item_srv6_end_sid(uint16_t mtid, struct isis_item *i,
|
||||
|
||||
static void free_item_srv6_end_sid(struct isis_item *i)
|
||||
{
|
||||
struct isis_srv6_end_sid_subtlv *item =
|
||||
(struct isis_srv6_end_sid_subtlv *)i;
|
||||
|
||||
isis_free_subsubtlvs(item->subsubtlvs);
|
||||
XFREE(MTYPE_ISIS_SUBTLV, i);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user