Small bugfix in ext routes calculation.
This commit is contained in:
parent
a5096a1bde
commit
501c5bb03f
1 changed files with 3 additions and 2 deletions
|
@ -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");
|
DBG("ASBR is null or its dist=INF\n");
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue