Convert ospf6d over to quagga_gettime() wrappers.
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c
index b42962c..c4cc9fa 100644
--- a/ospf6d/ospf6_top.c
+++ b/ospf6d/ospf6_top.c
@@ -117,7 +117,7 @@
o = XCALLOC (MTYPE_OSPF6_TOP, sizeof (struct ospf6));
/* initialize */
- gettimeofday (&o->starttime, (struct timezone *) NULL);
+ quagga_gettime (QUAGGA_CLK_MONOTONIC, &o->starttime);
o->area_list = list_new ();
o->area_list->cmp = ospf6_area_cmp;
o->lsdb = ospf6_lsdb_create (o);
@@ -447,7 +447,7 @@
router_id, VNL);
/* running time */
- gettimeofday (&now, (struct timezone *)NULL);
+ quagga_gettime (QUAGGA_CLK_MONOTONIC, &now);
timersub (&now, &o->starttime, &running);
timerstring (&running, duration, sizeof (duration));
vty_out (vty, " Running %s%s", duration, VNL);