]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_gr.c
ospf6d: Clean up thread interface
[mirror_frr.git] / ospf6d / ospf6_gr.c
index c3e6f62f067a6fe1dbbcc54ee4c283a05ab1e921..d7de66c6631f6d7ea5a652c2b3b10a4b90118eba 100644 (file)
@@ -455,14 +455,11 @@ static bool ospf6_gr_check_adjs(struct ospf6 *ospf6)
 }
 
 /* Handling of grace period expiry. */
-static int ospf6_gr_grace_period_expired(struct thread *thread)
+static void ospf6_gr_grace_period_expired(struct thread *thread)
 {
        struct ospf6 *ospf6 = THREAD_ARG(thread);
 
-       ospf6->gr_info.t_grace_period = NULL;
        ospf6_gr_restart_exit(ospf6, "grace period has expired");
-
-       return 0;
 }
 
 /*
@@ -691,7 +688,7 @@ DEFPY(ospf6_graceful_restart_prepare, ospf6_graceful_restart_prepare_cmd,
       "graceful-restart prepare ipv6 ospf",
       "Graceful Restart commands\n"
       "Prepare upcoming graceful restart\n" IPV6_STR
-      "Prepare to restart the OSPFv3 process")
+      "Prepare to restart the OSPFv3 process\n")
 {
        ospf6_gr_prepare();