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 /ldpd | |
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 'ldpd')
-rw-r--r-- | ldpd/adjacency.c | 2 | ||||
-rw-r--r-- | ldpd/interface.c | 2 | ||||
-rw-r--r-- | ldpd/neighbor.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ldpd/adjacency.c b/ldpd/adjacency.c index d9a9d434a..794bc66ce 100644 --- a/ldpd/adjacency.c +++ b/ldpd/adjacency.c @@ -375,7 +375,7 @@ adj_to_ctl(struct adj *adj) } actl.holdtime = adj->holdtime; actl.holdtime_remaining = - thread_timer_remain_second(adj->inactivity_timer); + event_timer_remain_second(adj->inactivity_timer); actl.trans_addr = adj->trans_addr; actl.ds_tlv = adj->ds_tlv; diff --git a/ldpd/interface.c b/ldpd/interface.c index 5a6ea9c51..32a23bf0b 100644 --- a/ldpd/interface.c +++ b/ldpd/interface.c @@ -533,7 +533,7 @@ ldp_sync_to_ctl(struct iface *iface) ictl.timer_running = iface->ldp_sync.wait_for_sync_timer ? true : false; ictl.wait_time_remaining = - thread_timer_remain_second(iface->ldp_sync.wait_for_sync_timer); + event_timer_remain_second(iface->ldp_sync.wait_for_sync_timer); memset(&ictl.peer_ldp_id, 0, sizeof(ictl.peer_ldp_id)); diff --git a/ldpd/neighbor.c b/ldpd/neighbor.c index e0cd0ec39..50a35e9f6 100644 --- a/ldpd/neighbor.c +++ b/ldpd/neighbor.c @@ -835,7 +835,7 @@ nbr_to_ctl(struct nbr *nbr) nctl.flags = nbr->flags; nctl.max_pdu_len = nbr->max_pdu_len; nctl.hold_time_remaining = - thread_timer_remain_second(nbr->keepalive_timer); + event_timer_remain_second(nbr->keepalive_timer); gettimeofday(&now, NULL); if (nbr->state == NBR_STA_OPER) { |