0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-31 14:11:54 +00:00

krt.c: fixup lots of routes learn & unlearn

This commit is contained in:
Katerina Kubecova 2023-11-06 09:38:13 +01:00
parent f730ecef4f
commit f992e7e1fe

View File

@ -531,6 +531,7 @@ done:;
static void
krt_init_scan(struct krt_proto *p)
{
rt_refresh_begin(&p->p.main_channel->in_req);
bmap_reset(&p->seen_map, 1024);
}
@ -562,6 +563,7 @@ krt_prune(struct krt_proto *p)
p->initialized = 1;
}
rt_refresh_end(&p->p.main_channel->in_req);
}
void