mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 10:46:22 +00:00
ospfd : Fix in lsa refresh when redist is done with route-map using access-list.
1. Minor change in distribute-list update timer based on lsa flag. Co-authored-by: harios <hari@niralnetworks.com> Signed-off-by: Kaushik <kaushik@niralnetworks.com>
This commit is contained in:
parent
1eb17c771b
commit
e641623d90
@ -1353,11 +1353,18 @@ static int ospf_distribute_list_update_timer(struct thread *thread)
|
|||||||
default_refresh = 1;
|
default_refresh = 1;
|
||||||
else if (
|
else if (
|
||||||
(lsa = ospf_external_info_find_lsa(
|
(lsa = ospf_external_info_find_lsa(
|
||||||
ospf, &ei->p)))
|
ospf, &ei->p))) {
|
||||||
ospf_external_lsa_refresh(
|
if (!CHECK_FLAG(
|
||||||
ospf, lsa, ei,
|
lsa->flags,
|
||||||
LSA_REFRESH_IF_CHANGED);
|
OSPF_LSA_IN_MAXAGE))
|
||||||
else
|
ospf_external_lsa_refresh(
|
||||||
|
ospf, lsa, ei,
|
||||||
|
LSA_REFRESH_IF_CHANGED);
|
||||||
|
else
|
||||||
|
ospf_external_lsa_refresh(
|
||||||
|
ospf, lsa, ei,
|
||||||
|
LSA_REFRESH_FORCE);
|
||||||
|
} else
|
||||||
ospf_external_lsa_originate(
|
ospf_external_lsa_originate(
|
||||||
ospf, ei);
|
ospf, ei);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user