0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Small bugfix in ext routes calculation.

This commit is contained in:
Ondrej Filip 2000-11-21 23:47:51 +00:00
parent a5096a1bde
commit 501c5bb03f

View File

@ -348,8 +348,9 @@ ospf_ext_spfa(struct proto_ospf *po) /* FIXME looking into inter-area */
}
}
}
rt=(struct ospf_lsa_rt *)absr->lsa_body;
if((absr==NULL)||(absr->dist==LSINFINITY)||(rt->veb.bit.e==0))
if((absr==NULL)||(absr->dist==LSINFINITY)||
(((struct ospf_lsa_rt *)(absr->lsa_body))->veb.bit.e==0))
{
DBG("ASBR is null or its dist=INF\n");
continue;