]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_top.c
*: Convert a bunch of thread_XX to event_XX
[mirror_frr.git] / ospf6d / ospf6_top.c
index db45198acd3040869788ade4c95560599f23dbe9..58124cabd67dee35446e641c29a6d35fa0260663 100644 (file)
@@ -1359,7 +1359,7 @@ static void ospf6_show(struct vty *vty, struct ospf6 *o, json_object *json,
                } else
                        json_object_boolean_false_add(json, "spfHasRun");
 
-               if (thread_is_scheduled(o->t_spf_calc)) {
+               if (event_is_scheduled(o->t_spf_calc)) {
                        long time_store;
 
                        json_object_boolean_true_add(json, "spfTimerActive");
@@ -1452,8 +1452,7 @@ static void ospf6_show(struct vty *vty, struct ospf6 *o, json_object *json,
 
                threadtimer_string(now, o->t_spf_calc, buf, sizeof(buf));
                vty_out(vty, " SPF timer %s%s\n",
-                       (thread_is_scheduled(o->t_spf_calc) ? "due in "
-                                                           : "is "),
+                       (event_is_scheduled(o->t_spf_calc) ? "due in " : "is "),
                        buf);
 
                if (CHECK_FLAG(o->flag, OSPF6_STUB_ROUTER))