diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-01-18 01:30:43 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-01-23 18:26:32 +0100 |
commit | cf672a865428b5e55844b6d2e01ca9d3bd4afe6b (patch) | |
tree | fd47b5006fa2f7cc6499e6d84f800ccfb74d77dc /ospf6d/ospf6_spf.c | |
parent | *: remove quagga_gettime() return value checks (diff) | |
download | frr-cf672a865428b5e55844b6d2e01ca9d3bd4afe6b.tar.xz frr-cf672a865428b5e55844b6d2e01ca9d3bd4afe6b.zip |
*: use monotime()
This is largely a bulk-replace made with coccinelle.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_spf.c')
-rw-r--r-- | ospf6d/ospf6_spf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_spf.c b/ospf6d/ospf6_spf.c index 901444637..333ce5588 100644 --- a/ospf6d/ospf6_spf.c +++ b/ospf6d/ospf6_spf.c @@ -603,7 +603,7 @@ ospf6_spf_calculation_thread (struct thread *t) ospf6->t_spf_calc = NULL; /* execute SPF calculation */ - quagga_gettime (QUAGGA_CLK_MONOTONIC, &start); + monotime(&start); if (ospf6_is_router_abr (ospf6)) ospf6_abr_range_reset_cost (ospf6); @@ -644,7 +644,7 @@ ospf6_spf_calculation_thread (struct thread *t) if (ospf6_is_router_abr (ospf6)) ospf6_abr_defaults_to_stub (ospf6); - quagga_gettime (QUAGGA_CLK_MONOTONIC, &end); + monotime(&end); timersub (&end, &start, &runtime); ospf6->ts_spf_duration = runtime; |