summaryrefslogtreecommitdiff
path: root/ospfd/ospf_gr.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-06-03 10:28:11 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-07-21 08:27:35 -0400
commitcccd44f3b1ae4f6e16c9183c5222ba767340d1f7 (patch)
treecdd63cd1e85f5cdbde2efce31827de9c4980f665 /ospfd/ospf_gr.c
parent87af90a765b697a944e4309a4b89c0a44b958435 (diff)
ospfd: Remove various macros that overlap THREAD_OFF
Let's just use THREAD_OFF consistently in the code base instead of each daemon having a special macro that needs to be looked at and remembered what it does. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfd/ospf_gr.c')
-rw-r--r--ospfd/ospf_gr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_gr.c b/ospfd/ospf_gr.c
index 2521f2fce0..66ef1d6564 100644
--- a/ospfd/ospf_gr.c
+++ b/ospfd/ospf_gr.c
@@ -216,7 +216,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;
- OSPF_TIMER_OFF(ospf->gr_info.t_grace_period);
+ THREAD_OFF(ospf->gr_info.t_grace_period);
/* Record in non-volatile memory that the restart is complete. */
ospf_gr_nvm_delete(ospf);