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:
parent
a5096a1bde
commit
501c5bb03f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user