summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2008-11-21 18:17:03 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2008-11-21 18:17:03 +0100
commit35f983f88912eadb1e0b25d800693256cbee33ce (patch)
tree507e60854e26508a4edbe0f717adf1a956761dae
parent661ec5db7fa047d883997d0b2cbdd71659f80777 (diff)
downloadbird-35f983f88912eadb1e0b25d800693256cbee33ce.tar
bird-35f983f88912eadb1e0b25d800693256cbee33ce.zip
Fixes segfault with multiple routing tables.
-rw-r--r--sysdep/unix/krt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c
index 5269eb7..fded9ab 100644
--- a/sysdep/unix/krt.c
+++ b/sysdep/unix/krt.c
@@ -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);