summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2015-11-23 11:13:40 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2015-11-23 11:13:40 +0100
commit1e4891e48e7b6f022564e7409d15c3fdb65ec2ad (patch)
tree0e5f601261daf2fb1de730e11a5d26c1d9a1b794 /sysdep/unix/krt.c
parentfce764f90e8331d1adb6a85ec00136dfeae1a398 (diff)
Nest: Fix bug in device proto
If an interface address notification is received during device protocol shutdown/restart, BIRD crashed. Thanks to Wei Huang for the bugreport.
Diffstat (limited to 'sysdep/unix/krt.c')
-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 49bf9519..5e78586b 100644
--- a/sysdep/unix/krt.c
+++ b/sysdep/unix/krt.c
@@ -84,8 +84,8 @@ krt_io_init(void)
* Interfaces
*/
+struct kif_proto *kif_proto;
static struct kif_config *kif_cf;
-static struct kif_proto *kif_proto;
static timer *kif_scan_timer;
static bird_clock_t kif_last_shot;