commit | 86f72dcba35f055b5344deeb5f057c2f1d9a291f | [log] [tgz] |
---|---|---|
author | Takashi Sogabe <sogabe@iij.ad.jp> | Mon Jun 22 13:07:02 2009 +0900 |
committer | Paul Jakma <paul@quagga.net> | Mon Jun 22 12:21:22 2009 +0100 |
tree | b128af27119cf27a709423814709a5a0bde98bae | |
parent | f7e0db80693aea7f5fd3d8d4f00e97347c8d0ba5 [diff] [blame] |
Convert ospf6d over to quagga_gettime() wrappers.
diff --git a/ospf6d/ospf6_message.c b/ospf6d/ospf6_message.c index c257092..790fc0a 100644 --- a/ospf6d/ospf6_message.c +++ b/ospf6d/ospf6_message.c
@@ -1456,7 +1456,7 @@ if (CHECK_FLAG (on->dbdesc_bits, OSPF6_DBDESC_IBIT)) { struct timeval tv; - if (gettimeofday (&tv, (struct timezone *) NULL) < 0) + if (quagga_gettime (QUAGGA_CLK_MONOTONIC, &tv) < 0) tv.tv_sec = 1; on->dbdesc_seqnum = tv.tv_sec; }