diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2008-11-10 09:33:30 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2008-11-29 18:04:22 +0000 |
commit | b8192765a320f389e09bf7261e8902958ad21584 (patch) | |
tree | dab031e7db5d0f844164b52391155af17a3c2a81 /bgpd/bgp_zebra.c | |
parent | 6e907dd4abdff9c52c809ea49c76d789b11c0e12 (diff) |
[lib] Fix timer precision.
Whenever a thread adds an timer funcname_thread_add_timer_timeval() gets called
to add the timer. Before adding the timer a quagga_gettimeofday() call
is made to do some time house keeping. However quagga_gettimeofday() only
updates recent_time, not relative_time that is used to calculate
the alarm_time. Replace with quagga_get_relative (NULL)
Diffstat (limited to 'bgpd/bgp_zebra.c')
0 files changed, 0 insertions, 0 deletions