1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

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.
This commit is contained in:
Ondrej Zajicek (work)
2015-11-23 11:13:40 +01:00
parent fce764f90e
commit 1e4891e48e
3 changed files with 7 additions and 3 deletions

View File

@@ -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;