]> git.proxmox.com Git - mirror_frr.git/commit
isisd: fix recreating the LS TED after re-enabling MPLS TE
authorLouis Scalbert <louis.scalbert@6wind.com>
Mon, 17 Oct 2022 16:40:42 +0000 (18:40 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Mon, 24 Oct 2022 11:48:49 +0000 (13:48 +0200)
commitca94e8d3a205dfb7a42a22e16d62eab6e8358027
tree1355fc4adedfc080ae86079ae1c306421cdc49bc
parent78d905be544770e6d5902ac93e34d8c296fb34a6
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>
isisd/isis_te.c