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:
Rafael Zalamena 2017-12-06 19:23:55 -02:00
parent c05ca1046f
commit 013b29d7ea

View File

@ -1435,9 +1435,8 @@ int isis_spf_schedule(struct isis_area *area, int level)
timer, &area->spf_timer[level - 1]);
if (isis->debugs & DEBUG_SPF_EVENTS)
zlog_debug("ISIS-Spf (%s) L%d SPF scheduled %d sec from now",
area->area_tag, level,
area->min_spf_interval[level - 1] - diff);
zlog_debug("ISIS-Spf (%s) L%d SPF scheduled %ld sec from now",
area->area_tag, level, timer);
return ISIS_OK;
}