commit | b8192765a320f389e09bf7261e8902958ad21584 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | Mon Nov 10 09:33:30 2008 +0100 |
committer | Paul Jakma <paul@quagga.net> | Sat Nov 29 18:04:22 2008 +0000 |
tree | dab031e7db5d0f844164b52391155af17a3c2a81 | |
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)