diff options
author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-02-14 13:31:53 +0100 |
---|---|---|
committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-09-11 17:35:19 +0200 |
commit | 6605ccf09ed1a127d238de4bbc4c055e8fd65250 (patch) | |
tree | a0b41db13f01fc0783ab9012806745f1b0b0ebeb /isisd | |
parent | isisd: Add format func for SRv6 End SID Sub-TLV (diff) | |
download | frr-6605ccf09ed1a127d238de4bbc4c055e8fd65250.tar.xz frr-6605ccf09ed1a127d238de4bbc4c055e8fd65250.zip |
isisd: Add free function for SRv6 End SID Sub-TLV
Add a function to free an SRv6 End SID Sub-TLV
(RFC 9352 section #7.2).
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_tlvs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index 37fdf6aa6..206971d79 100644 --- a/isisd/isis_tlvs.c +++ b/isisd/isis_tlvs.c @@ -2093,6 +2093,11 @@ 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) +{ + XFREE(MTYPE_ISIS_SUBTLV, i); +} + /* Functions related to TLVs 1 Area Addresses */ static struct isis_item *copy_item_area_address(struct isis_item *i) |