From: Ondrej Zajicek Date: Tue, 15 Oct 2013 08:57:57 +0000 (+0200) Subject: Forces KRT rescan on syncer startup with multi syncer config. X-Git-Tag: v1.4.0~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8cc7396cf25328b002394bbd7af679188b03370;p=thirdparty%2Fbird.git Forces KRT rescan on syncer startup with multi syncer config. Thanks to Sergey Popovich for the patch. --- diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index 6de6077eb..57cfe5a48 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -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