summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-01-18 01:30:43 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-01-23 18:26:32 +0100
commitcf672a865428b5e55844b6d2e01ca9d3bd4afe6b (patch)
treefd47b5006fa2f7cc6499e6d84f800ccfb74d77dc /bgpd
parent*: remove quagga_gettime() return value checks (diff)
downloadfrr-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 'bgpd')
-rw-r--r--bgpd/bgpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 5457822f3..3cd1ac65c 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -348,7 +348,7 @@ time_t bgp_clock (void)
{
struct timeval tv;
- quagga_gettime(QUAGGA_CLK_MONOTONIC, &tv);
+ monotime(&tv);
return tv.tv_sec;
}