]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/ldp_sync.c
Merge pull request #13649 from donaldsharp/unlock_the_node_or_else
[mirror_frr.git] / lib / ldp_sync.c
index b01cf87287d26b8bfb80562c05d5c691a47c2404..d55819dfaffa6d112fb6b257528069c675d697b9 100644 (file)
@@ -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 =