From 86f72dcba35f055b5344deeb5f057c2f1d9a291f Mon Sep 17 00:00:00 2001 From: Takashi Sogabe Date: Mon, 22 Jun 2009 13:07:02 +0900 Subject: Convert ospf6d over to quagga_gettime() wrappers. --- ospf6d/ospf6_intra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ospf6d/ospf6_intra.c') diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c index 103e8fc2..05b11ba3 100644 --- a/ospf6d/ospf6_intra.c +++ b/ospf6d/ospf6_intra.c @@ -1256,11 +1256,11 @@ ospf6_brouter_debug_print (struct ospf6_route *brouter) ospf6_linkstate_prefix2str (&brouter->prefix, destination, sizeof (destination)); - gettimeofday (&now, (struct timezone *) NULL); + quagga_gettime (QUAGGA_CLK_MONOTONIC, &now); timersub (&now, &brouter->installed, &res); timerstring (&res, installed, sizeof (installed)); - gettimeofday (&now, (struct timezone *) NULL); + quagga_gettime (QUAGGA_CLK_MONOTONIC, &now); timersub (&now, &brouter->changed, &res); timerstring (&res, changed, sizeof (changed)); -- cgit v1.2.3