diff options
author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-06-03 02:14:42 +0200 |
---|---|---|
committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-09-11 22:11:48 +0200 |
commit | ee57c710b1067f4f25f51381143dc003b81c1f3d (patch) | |
tree | 9b3c4eed3cd2b188a1827906c27783b0d1714d5d /isisd | |
parent | isisd: Add support for SRv6 Adjacency SIDs (diff) | |
download | frr-ee57c710b1067f4f25f51381143dc003b81c1f3d.tar.xz frr-ee57c710b1067f4f25f51381143dc003b81c1f3d.zip |
isisd: Extend IS-IS adjacency with SRv6 adj SIDs
Initialize/remove SRv6 SIDs list when an IS-IS adjacency is
created/deleted.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_adjacency.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_adjacency.c b/isisd/isis_adjacency.c index 30b71537e..cba1b91fa 100644 --- a/isisd/isis_adjacency.c +++ b/isisd/isis_adjacency.c @@ -90,6 +90,7 @@ struct isis_adjacency *isis_new_adj(const uint8_t *id, const uint8_t *snpa, } } adj->adj_sids = list_new(); + adj->srv6_endx_sids = list_new(); listnode_add(circuit->area->adjacency_list, adj); return adj; @@ -160,6 +161,7 @@ void isis_delete_adj(void *arg) XFREE(MTYPE_ISIS_ADJACENCY_INFO, adj->global_ipv6_addrs); adj_mt_finish(adj); list_delete(&adj->adj_sids); + list_delete(&adj->srv6_endx_sids); listnode_delete(adj->circuit->area->adjacency_list, adj); XFREE(MTYPE_ISIS_ADJACENCY, adj); |