mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Protocol shutdown/restart from limits is respecting the loops
This commit is contained in:
@@ -99,12 +99,14 @@ tm_set_max(timer *t, btime when)
|
||||
}
|
||||
|
||||
static inline void
|
||||
tm_start_max(timer *t, btime after)
|
||||
tm_start_max_in(timer *t, btime after, struct birdloop *loop)
|
||||
{
|
||||
btime rem = tm_remains(t);
|
||||
tm_start(t, MAX_(rem, after));
|
||||
tm_start_in(t, MAX_(rem, after), loop);
|
||||
}
|
||||
|
||||
#define tm_start_max(t, after) tm_start_max_in(t, after, &main_birdloop)
|
||||
|
||||
/* In sysdep code */
|
||||
void times_update(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user