mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Forces KRT rescan on syncer startup with multi syncer config.
Thanks to Sergey Popovich for the patch.
This commit is contained in:
parent
1cd198cf52
commit
f8cc7396cf
@ -846,12 +846,11 @@ static void
|
||||
krt_scan_timer_start(struct krt_proto *p)
|
||||
{
|
||||
if (!krt_scan_count)
|
||||
{
|
||||
krt_scan_timer = tm_new_set(krt_pool, krt_scan, NULL, 0, KRT_CF->scan_time);
|
||||
tm_start(krt_scan_timer, 0);
|
||||
}
|
||||
|
||||
krt_scan_count++;
|
||||
|
||||
tm_start(krt_scan_timer, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user