Fixes segfault with multiple routing tables.
This commit is contained in:
parent
661ec5db7f
commit
35f983f889
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue