Fixes segfault with multiple routing tables.

This commit is contained in:
Ondrej Zajicek 2008-11-21 18:17:03 +01:00
parent 661ec5db7f
commit 35f983f889

View file

@ -770,7 +770,7 @@ krt_start(struct proto *P)
if (first)
krt_scan_timer = krt_start_timer(p);
else
tm_start(p->scan_timer, 0);
tm_start(krt_scan_timer, 0);
p->scan_timer = krt_scan_timer;
#else
p->scan_timer = krt_start_timer(p);