]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_top.c
*: remove THREAD_ON macros, add nullity check
[mirror_frr.git] / ospf6d / ospf6_top.c
index e592d3c4f9cde60e587cc7a4e069e007861a1d40..fbb3316ba3f23a3b1557dcfa1bb7f7e196416411 100644 (file)
@@ -287,8 +287,9 @@ void
 ospf6_maxage_remove (struct ospf6 *o)
 {
   if (o && ! o->maxage_remover)
-    o->maxage_remover = thread_add_timer (master, ospf6_maxage_remover, o,
-                                         OSPF_LSA_MAXAGE_REMOVE_DELAY_DEFAULT);
+    o->maxage_remover = thread_add_timer(master, ospf6_maxage_remover, o,
+                                         OSPF_LSA_MAXAGE_REMOVE_DELAY_DEFAULT,
+                                         NULL);
 }
 
 /* start ospf6 */