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:
parent
39c028e9e9
commit
46c1a583a5
@ -608,10 +608,9 @@ krt_got_route(struct krt_proto *p, rte *e)
|
|||||||
return;
|
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))
|
if (krt_uptodate(e, old))
|
||||||
verdict = KRF_SEEN;
|
verdict = KRF_SEEN;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user