summaryrefslogtreecommitdiff
path: root/ospfd/ospf_gr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_gr.c')
-rw-r--r--ospfd/ospf_gr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ospfd/ospf_gr.c b/ospfd/ospf_gr.c
index 6bfe48145f..ee1ca256e3 100644
--- a/ospfd/ospf_gr.c
+++ b/ospfd/ospf_gr.c
@@ -510,14 +510,12 @@ void ospf_gr_check_adjs(struct ospf *ospf)
}
/* Handling of grace period expiry. */
-static int ospf_gr_grace_period_expired(struct thread *thread)
+static void ospf_gr_grace_period_expired(struct thread *thread)
{
struct ospf *ospf = THREAD_ARG(thread);
ospf->gr_info.t_grace_period = NULL;
ospf_gr_restart_exit(ospf, "grace period has expired");
-
- return 0;
}
/*