mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 13:33:15 +00:00
pimd: actually return msec in timer_remain_msec()
... really old TODO sitting there. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
1e9044be8d
commit
1ee6df3363
@ -171,9 +171,7 @@ void pim_time_uptime_begin(char *buf, int buf_size, int64_t now, int64_t begin)
|
|||||||
|
|
||||||
long pim_time_timer_remain_msec(struct thread *t_timer)
|
long pim_time_timer_remain_msec(struct thread *t_timer)
|
||||||
{
|
{
|
||||||
/* FIXME: Actually fetch msec resolution from thread */
|
|
||||||
|
|
||||||
/* no timer thread running means timer has expired: return 0 */
|
/* no timer thread running means timer has expired: return 0 */
|
||||||
|
|
||||||
return t_timer ? 1000 * thread_timer_remain_second(t_timer) : 0;
|
return t_timer ? thread_timer_remain_msec(t_timer) : 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user