mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-16 11:34:14 +00:00
isisd: Free SRv6 Locator TLV when freeing TLVs
Extend generic TLVs free function to free SRv6 Locator TLVs (RFC 9352 section #7.1). Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
This commit is contained in:
parent
5a81a9bd59
commit
efb113b9ca
@ -5841,6 +5841,8 @@ void isis_free_tlvs(struct isis_tlvs *tlvs)
|
||||
free_tlv_threeway_adj(tlvs->threeway_adj);
|
||||
free_tlv_router_cap(tlvs->router_cap);
|
||||
free_tlv_spine_leaf(tlvs->spine_leaf);
|
||||
free_mt_items(ISIS_CONTEXT_LSP, ISIS_TLV_SRV6_LOCATOR,
|
||||
&tlvs->srv6_locator);
|
||||
|
||||
XFREE(MTYPE_ISIS_TLV, tlvs);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user