mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 07:23:41 +00:00
isisd: fix debug message
Show the actual timer instead of doing the arithmetic operation again. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
c05ca1046f
commit
013b29d7ea
@ -1435,9 +1435,8 @@ int isis_spf_schedule(struct isis_area *area, int level)
|
|||||||
timer, &area->spf_timer[level - 1]);
|
timer, &area->spf_timer[level - 1]);
|
||||||
|
|
||||||
if (isis->debugs & DEBUG_SPF_EVENTS)
|
if (isis->debugs & DEBUG_SPF_EVENTS)
|
||||||
zlog_debug("ISIS-Spf (%s) L%d SPF scheduled %d sec from now",
|
zlog_debug("ISIS-Spf (%s) L%d SPF scheduled %ld sec from now",
|
||||||
area->area_tag, level,
|
area->area_tag, level, timer);
|
||||||
area->min_spf_interval[level - 1] - diff);
|
|
||||||
|
|
||||||
return ISIS_OK;
|
return ISIS_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user