From f8cc7396cf25328b002394bbd7af679188b03370 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 15 Oct 2013 10:57:57 +0200 Subject: [PATCH] Forces KRT rescan on syncer startup with multi syncer config. Thanks to Sergey Popovich for the patch. --- sysdep/unix/krt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index 6de6077e..57cfe5a4 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