summaryrefslogtreecommitdiff
path: root/ldpd/adjacency.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd/adjacency.c')
-rw-r--r--ldpd/adjacency.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldpd/adjacency.c b/ldpd/adjacency.c
index 3ec57f1589..e8bc58b7e8 100644
--- a/ldpd/adjacency.c
+++ b/ldpd/adjacency.c
@@ -207,7 +207,7 @@ adj_start_itimer(struct adj *adj)
{
THREAD_TIMER_OFF(adj->inactivity_timer);
adj->inactivity_timer = thread_add_timer(master, adj_itimer, adj,
- adj->holdtime);
+ adj->holdtime, NULL);
}
void
@@ -367,7 +367,8 @@ tnbr_start_hello_timer(struct tnbr *tnbr)
{
THREAD_TIMER_OFF(tnbr->hello_timer);
tnbr->hello_timer = thread_add_timer(master, tnbr_hello_timer, tnbr,
- tnbr_get_hello_interval(tnbr));
+ tnbr_get_hello_interval(tnbr),
+ NULL);
}
static void