summaryrefslogtreecommitdiff
path: root/pimd/pim_zpthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_zpthread.c')
-rw-r--r--pimd/pim_zpthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_zpthread.c b/pimd/pim_zpthread.c
index afa7896633..d6b2621ff4 100644
--- a/pimd/pim_zpthread.c
+++ b/pimd/pim_zpthread.c
@@ -209,8 +209,8 @@ int pim_mlag_signal_zpthread(void)
if (PIM_DEBUG_MLAG)
zlog_debug(":%s: Scheduling PIM MLAG write Thread",
__func__);
- thread_add_event(router->master, pim_mlag_zthread_handler, NULL,
- 0, &router->zpthread_mlag_write);
+ event_add_event(router->master, pim_mlag_zthread_handler, NULL,
+ 0, &router->zpthread_mlag_write);
}
return (0);
}