summaryrefslogtreecommitdiff
path: root/ldpd
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd')
-rw-r--r--ldpd/adjacency.c2
-rw-r--r--ldpd/interface.c2
-rw-r--r--ldpd/neighbor.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ldpd/adjacency.c b/ldpd/adjacency.c
index d9a9d434a5..794bc66ce9 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 5a6ea9c518..32a23bf0be 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 e0cd0ec394..50a35e9f61 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) {