summaryrefslogtreecommitdiff
path: root/ldpd/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd/interface.c')
-rw-r--r--ldpd/interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldpd/interface.c b/ldpd/interface.c
index 6996bf7c10..5a6ea9c518 100644
--- a/ldpd/interface.c
+++ b/ldpd/interface.c
@@ -457,8 +457,8 @@ static void
if_start_hello_timer(struct iface_af *ia)
{
THREAD_OFF(ia->hello_timer);
- thread_add_timer(master, if_hello_timer, ia, if_get_hello_interval(ia),
- &ia->hello_timer);
+ event_add_timer(master, if_hello_timer, ia, if_get_hello_interval(ia),
+ &ia->hello_timer);
}
static void
@@ -733,7 +733,7 @@ static void start_wait_for_ldp_sync_timer(struct iface *iface)
return;
THREAD_OFF(iface->ldp_sync.wait_for_sync_timer);
- thread_add_timer(master, iface_wait_for_ldp_sync_timer, iface,
+ event_add_timer(master, iface_wait_for_ldp_sync_timer, iface,
if_get_wait_for_sync_interval(),
&iface->ldp_sync.wait_for_sync_timer);
}