0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

Fixes a bug causing crash during soft reconfiguration of export to kernel proto.

This commit is contained in:
Ondrej Zajicek 2012-02-03 11:50:51 +01:00
parent 39c028e9e9
commit 46c1a583a5

View File

@ -608,10 +608,9 @@ krt_got_route(struct krt_proto *p, rte *e)
return;
}
if (net->n.flags & KRF_INSTALLED)
old = net->routes;
if ((net->n.flags & KRF_INSTALLED) && old)
{
old = net->routes;
ASSERT(old);
if (krt_uptodate(e, old))
verdict = KRF_SEEN;
else