summaryrefslogtreecommitdiff
path: root/zebra/zebra_pw.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_pw.c')
-rw-r--r--zebra/zebra_pw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_pw.c b/zebra/zebra_pw.c
index 243ce30959..edcb97ddec 100644
--- a/zebra/zebra_pw.c
+++ b/zebra/zebra_pw.c
@@ -208,8 +208,8 @@ void zebra_pw_install_failure(struct zebra_pw *pw, int pwstatus)
/* schedule to retry later */
THREAD_OFF(pw->install_retry_timer);
- thread_add_timer(zrouter.master, zebra_pw_install_retry, pw,
- PW_INSTALL_RETRY_INTERVAL, &pw->install_retry_timer);
+ event_add_timer(zrouter.master, zebra_pw_install_retry, pw,
+ PW_INSTALL_RETRY_INTERVAL, &pw->install_retry_timer);
zebra_pw_update_status(pw, pwstatus);
}