summaryrefslogtreecommitdiff
path: root/lib/ldp_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ldp_sync.c')
-rw-r--r--lib/ldp_sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ldp_sync.c b/lib/ldp_sync.c
index b01cf87287..d55819dfaf 100644
--- a/lib/ldp_sync.c
+++ b/lib/ldp_sync.c
@@ -10,7 +10,7 @@
#include "memory.h"
#include "prefix.h"
#include "log.h"
-#include "thread.h"
+#include "frrevent.h"
#include "stream.h"
#include "zclient.h"
#include "table.h"
@@ -66,7 +66,7 @@ bool ldp_sync_if_down(struct ldp_sync_info *ldp_sync_info)
* update state
*/
if (ldp_sync_info && ldp_sync_info->enabled == LDP_IGP_SYNC_ENABLED) {
- THREAD_OFF(ldp_sync_info->t_holddown);
+ EVENT_OFF(ldp_sync_info->t_holddown);
if (ldp_sync_info->state == LDP_IGP_SYNC_STATE_REQUIRED_UP)
ldp_sync_info->state =