diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2013-10-15 10:57:57 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2013-10-15 10:57:57 +0200 |
commit | f8cc7396cf25328b002394bbd7af679188b03370 (patch) | |
tree | e971b33afd52ee9631884bb32dbbf7db1481812f /sysdep | |
parent | 1cd198cf52b3eae677159d81eacca3e0ebe24e71 (diff) |
Forces KRT rescan on syncer startup with multi syncer config.
Thanks to Sergey Popovich for the patch.
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/unix/krt.c | 5 |
1 files 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 |