diff options
author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-03-11 11:55:03 +0100 |
---|---|---|
committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-09-11 22:11:33 +0200 |
commit | b5cd8ab2b7f2b18456669453da67d0e25ffdb8f1 (patch) | |
tree | 6841ec8e2df70ecda1c6f30bc87995f8184d6259 /isisd | |
parent | isisd: Add free func for SID Structure Sub-Sub-TLV (diff) | |
download | frr-b5cd8ab2b7f2b18456669453da67d0e25ffdb8f1.tar.xz frr-b5cd8ab2b7f2b18456669453da67d0e25ffdb8f1.zip |
isisd: Free SID Struct when freeing Sub-Sub-TLVs
Extend generic Sub-Sub-TLVs free function to free SRv6 SID Structure
Sub-Sub-TLVs (RFC 9352 section #9).
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_tlvs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index acd8516c6..d9b0d67af 100644 --- a/isisd/isis_tlvs.c +++ b/isisd/isis_tlvs.c @@ -2076,6 +2076,8 @@ static void isis_free_subsubtlvs(struct isis_subsubtlvs *subsubtlvs) if (!subsubtlvs) return; + free_subsubtlv_srv6_sid_structure(subsubtlvs->srv6_sid_structure); + XFREE(MTYPE_ISIS_SUBSUBTLV, subsubtlvs); } |