0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

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) if (first)
krt_scan_timer = krt_start_timer(p); krt_scan_timer = krt_start_timer(p);
else else
tm_start(p->scan_timer, 0); tm_start(krt_scan_timer, 0);
p->scan_timer = krt_scan_timer; p->scan_timer = krt_scan_timer;
#else #else
p->scan_timer = krt_start_timer(p); p->scan_timer = krt_start_timer(p);