mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-06 01:40:45 +00:00
isisd: fix recreating the LS TED after re-enabling MPLS TE
When disabling and re-enabling the "mpls-te on" command, the LS TED
database is deleted but not re-created.
Cleanup the LS TED database instead of deleting it when disabling
"mpls-te".
Fixes: 1fa6385040.. ("isisd: Correct Valgrind errors")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
parent
78d905be54
commit
ca94e8d3a2
@ -138,7 +138,7 @@ void isis_mpls_te_disable(struct isis_area *area)
|
||||
area->mta->status = disable;
|
||||
|
||||
/* Remove Link State Database */
|
||||
ls_ted_del_all(&area->mta->ted);
|
||||
ls_ted_clean(area->mta->ted);
|
||||
|
||||
/* Disable Extended SubTLVs on all circuit */
|
||||
for (ALL_LIST_ELEMENTS_RO(area->circuit_list, node, circuit)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user