summaryrefslogtreecommitdiff
path: root/lib/ldp_sync.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2020-10-23 15:02:50 -0400
committerGitHub <noreply@github.com>2020-10-23 15:02:50 -0400
commit939bd6ac52aec8def971d19529d0e782aa794ff1 (patch)
tree9104cb9bbb58261935187e42f5fea8b3702e0f1f /lib/ldp_sync.c
parent1e4fa7f46cc1c2d1fcb5c427c2d284bd1110a406 (diff)
parent70c583eb819d93d8ec494880f4645be0f942c7a5 (diff)
Merge pull request #6788 from mjstapp/thread_cancel_off
*: unify thread/task cancel apis
Diffstat (limited to 'lib/ldp_sync.c')
-rw-r--r--lib/ldp_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldp_sync.c b/lib/ldp_sync.c
index 9657f0b1df..c9d7eb37cf 100644
--- a/lib/ldp_sync.c
+++ b/lib/ldp_sync.c
@@ -79,7 +79,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_TIMER_OFF(ldp_sync_info->t_holddown);
+ THREAD_OFF(ldp_sync_info->t_holddown);
if (ldp_sync_info->state == LDP_IGP_SYNC_STATE_REQUIRED_UP)
ldp_sync_info->state =