mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 18:42:23 +00:00
ospfd: Make sure ospf_distribute_list_update_timer() eventually runs.
* ospf_zebra.c: (ospf_distribute_list_update_timer) If there are updates to the distribute list every 5 second or less, ospf_distribute_list_update_timer() will never run as the timer gets rearmed for each update. This fixes it by never rearming an active distribute list timer. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
This commit is contained in:
parent
274d3f090d
commit
45acaa0a4c
@ -972,9 +972,9 @@ ospf_distribute_list_update (struct ospf *ospf, int type)
|
||||
if (!(rt = EXTERNAL_INFO (type)))
|
||||
return;
|
||||
|
||||
/* If exists previously invoked thread, then cancel it. */
|
||||
/* If exists previously invoked thread, then let it continue. */
|
||||
if (ospf->t_distribute_update)
|
||||
OSPF_TIMER_OFF (ospf->t_distribute_update);
|
||||
return;
|
||||
|
||||
/* Set timer. */
|
||||
ospf->t_distribute_update =
|
||||
|
Loading…
Reference in New Issue
Block a user