diff options
Diffstat (limited to 'ospfd/ospf_gr.c')
| -rw-r--r-- | ospfd/ospf_gr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_gr.c b/ospfd/ospf_gr.c index 0870699014..f60f0e863e 100644 --- a/ospfd/ospf_gr.c +++ b/ospfd/ospf_gr.c @@ -201,7 +201,7 @@ static void ospf_gr_restart_exit(struct ospf *ospf, const char *reason) zlog_debug("GR: exiting graceful restart: %s", reason); ospf->gr_info.restart_in_progress = false; - THREAD_OFF(ospf->gr_info.t_grace_period); + EVENT_OFF(ospf->gr_info.t_grace_period); /* Record in non-volatile memory that the restart is complete. */ ospf_gr_nvm_delete(ospf); @@ -497,7 +497,7 @@ void ospf_gr_check_adjs(struct ospf *ospf) /* Handling of grace period expiry. */ static void ospf_gr_grace_period_expired(struct event *thread) { - struct ospf *ospf = THREAD_ARG(thread); + struct ospf *ospf = EVENT_ARG(thread); ospf->gr_info.t_grace_period = NULL; ospf_gr_restart_exit(ospf, "grace period has expired"); |
