diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-12-11 14:19:00 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 13:32:17 +0100 |
commit | 4f830a0799e74bd18af18e3ded5d6e16c79a7d56 (patch) | |
tree | e92b4fe1c6e633c1667f718f6e9a87d22d8518e3 /ripd | |
parent | *: Convert thread_execute to event_execute (diff) | |
download | frr-4f830a0799e74bd18af18e3ded5d6e16c79a7d56.tar.xz frr-4f830a0799e74bd18af18e3ded5d6e16c79a7d56.zip |
*: Convert thread_timer_remain_XXX to event_timer_remain_XXX
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ripd')
-rw-r--r-- | ripd/ripd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c index 70bcfef4e..766176751 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -2926,12 +2926,12 @@ static void rip_vty_out_uptime(struct vty *vty, struct rip_info *rinfo) struct event *thread; if ((thread = rinfo->t_timeout) != NULL) { - clock = thread_timer_remain_second(thread); + clock = event_timer_remain_second(thread); gmtime_r(&clock, &tm); strftime(timebuf, TIME_BUF, "%M:%S", &tm); vty_out(vty, "%5s", timebuf); } else if ((thread = rinfo->t_garbage_collect) != NULL) { - clock = thread_timer_remain_second(thread); + clock = event_timer_remain_second(thread); gmtime_r(&clock, &tm); strftime(timebuf, TIME_BUF, "%M:%S", &tm); vty_out(vty, "%5s", timebuf); @@ -3106,7 +3106,7 @@ DEFUN (show_ip_rip_status, vty_out(vty, " Sending updates every %u seconds with +/-50%%,", rip->update_time); vty_out(vty, " next due in %lu seconds\n", - thread_timer_remain_second(rip->t_update)); + event_timer_remain_second(rip->t_update)); vty_out(vty, " Timeout after %u seconds,", rip->timeout_time); vty_out(vty, " garbage collect after %u seconds\n", rip->garbage_time); |