Bugfix in external routes calculation.
This commit is contained in:
parent
7048461df1
commit
f9625e9aca
1 changed files with 1 additions and 0 deletions
|
@ -453,6 +453,7 @@ ospf_ext_spfa(struct proto_ospf *po) /* FIXME looking into inter-area */
|
||||||
if((neigh=find_neigh_noifa(po,absr->lsa.rt))==NULL)
|
if((neigh=find_neigh_noifa(po,absr->lsa.rt))==NULL)
|
||||||
{
|
{
|
||||||
DBG("Cannot find neighbor\n");
|
DBG("Cannot find neighbor\n");
|
||||||
|
nf->metric=LSINFINITY; /* delete this route */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
nn=neigh_find(p,&neigh->ip,0);
|
nn=neigh_find(p,&neigh->ip,0);
|
||||||
|
|
Loading…
Reference in a new issue