summaryrefslogtreecommitdiff
path: root/tests/test-privs.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2013-01-04 22:29:23 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2013-01-15 17:49:48 +0100
commitd61c1bbd4bf6ddf717dda88350668a9f1e2da0ac (patch)
treec6a056bdfb24031339eb5781c0f57748059dbea4 /tests/test-privs.c
parent47f6aef02b85c604bbd556574e2c724b7304e9e8 (diff)
bgpd: use recent monotonic time for readtime
The readtime value is for diagnostic, and doesn't have to be highly accurate. This also fixes a problem where the readtime was being measured with system clock, but the peer_uptime() was comparing with bgp_clock. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/test-privs.c')
0 files changed, 0 insertions, 0 deletions