mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 12:44:55 +00:00
Merge pull request #10063 from idryzhov/ospf-gr-guarded-code
ospfd: fix code being guarded by debug check
This commit is contained in:
commit
f22a74fee0
@ -76,10 +76,11 @@ static int ospf_inactivity_timer(struct thread *thread)
|
|||||||
*/
|
*/
|
||||||
if (!OSPF_GR_IS_ACTIVE_HELPER(nbr))
|
if (!OSPF_GR_IS_ACTIVE_HELPER(nbr))
|
||||||
OSPF_NSM_EVENT_SCHEDULE(nbr, NSM_InactivityTimer);
|
OSPF_NSM_EVENT_SCHEDULE(nbr, NSM_InactivityTimer);
|
||||||
else if (IS_DEBUG_OSPF_GR) {
|
else {
|
||||||
zlog_debug(
|
if (IS_DEBUG_OSPF_GR)
|
||||||
"%s, Acting as HELPER for this neighbour, So restart the dead timer",
|
zlog_debug(
|
||||||
__func__);
|
"%s, Acting as HELPER for this neighbour, So restart the dead timer",
|
||||||
|
__func__);
|
||||||
OSPF_NSM_TIMER_ON(nbr->t_inactivity, ospf_inactivity_timer,
|
OSPF_NSM_TIMER_ON(nbr->t_inactivity, ospf_inactivity_timer,
|
||||||
nbr->v_inactivity);
|
nbr->v_inactivity);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user