mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 15:36:25 +00:00
ospf6d: add exception for virtual links when exiting from the GR mode
RFC 5340 says that Link-LSAs should not be originated for virtual links. Add a check to prevent that from happening while exiting from the GR mode. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
e23e568319
commit
5cbcc459ae
@ -149,7 +149,9 @@ static void ospf6_gr_restart_exit(struct ospf6 *ospf6, const char *reason)
|
||||
OSPF6_ROUTER_LSA_EXECUTE(area);
|
||||
|
||||
for (ALL_LIST_ELEMENTS_RO(area->if_list, anode, oi)) {
|
||||
OSPF6_LINK_LSA_EXECUTE(oi);
|
||||
/* Reoriginate Link-LSA. */
|
||||
if (oi->type != OSPF_IFTYPE_VIRTUALLINK)
|
||||
OSPF6_LINK_LSA_EXECUTE(oi);
|
||||
|
||||
/*
|
||||
* 2) The router should reoriginate network-LSAs on all
|
||||
|
Loading…
Reference in New Issue
Block a user