Skip to content

Commit

Permalink
ospfd: avoid the redundant timers
Browse files Browse the repository at this point in the history
Since the timer thread for ```OSPF_ROUTE_AGGR_DEL``` has been created,
the subsequent "no summary-address" commands shouldn't trigger redundant timers.

Signed-off-by: anlan_cs <[email protected]>
  • Loading branch information
anlancs committed Jan 9, 2025
1 parent 3d7dbcf commit 2489188
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ospfd/ospf_asbr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,8 @@ static void ospf_external_aggr_timer(struct ospf *ospf,
"%s, Restarting Aggregator delay timer.",
__func__);
EVENT_OFF(ospf->t_external_aggr);
}
} else
return;
}

if (IS_DEBUG_OSPF(lsa, EXTNL_LSA_AGGR))
Expand Down

0 comments on commit 2489188

Please sign in to comment.