mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 06:53:03 +00:00
Merge pull request #45 from opensourcerouting/fixes/isis-for-stable
isisd: don't generate LSPs with LSP-ID zero on is-type change
This commit is contained in:
commit
07da327054
@ -1780,10 +1780,13 @@ isis_area_is_type_set(struct isis_area *area, int is_type)
|
|||||||
|
|
||||||
spftree_area_init (area);
|
spftree_area_init (area);
|
||||||
|
|
||||||
if (is_type & IS_LEVEL_1)
|
if (listcount (area->area_addrs) > 0)
|
||||||
lsp_generate (area, IS_LEVEL_1);
|
{
|
||||||
if (is_type & IS_LEVEL_2)
|
if (is_type & IS_LEVEL_1)
|
||||||
lsp_generate (area, IS_LEVEL_2);
|
lsp_generate (area, IS_LEVEL_1);
|
||||||
|
if (is_type & IS_LEVEL_2)
|
||||||
|
lsp_generate (area, IS_LEVEL_2);
|
||||||
|
}
|
||||||
lsp_regenerate_schedule (area, IS_LEVEL_1 | IS_LEVEL_2, 1);
|
lsp_regenerate_schedule (area, IS_LEVEL_1 | IS_LEVEL_2, 1);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user