mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Timers: Replace old timers with microsecond timers
The old timer interface is still kept, but implemented by new timers. The plan is to switch from the old inteface to the new interface, then clean it up.
This commit is contained in:
@@ -154,12 +154,7 @@ radv_iface_new(struct radv_proto *p, struct iface *iface, struct radv_iface_conf
|
||||
|
||||
add_tail(&p->iface_list, NODE ifa);
|
||||
|
||||
timer *tm = tm_new(pool);
|
||||
tm->hook = radv_timer;
|
||||
tm->data = ifa;
|
||||
tm->randomize = 0;
|
||||
tm->recurrent = 0;
|
||||
ifa->timer = tm;
|
||||
ifa->timer = tm_new_set(pool, radv_timer, ifa, 0, 0);
|
||||
|
||||
struct object_lock *lock = olock_new(pool);
|
||||
lock->addr = IPA_NONE;
|
||||
|
||||
Reference in New Issue
Block a user