Bugfix in external routes calculation.

This commit is contained in:
Ondrej Filip 2004-06-01 14:06:25 +00:00
parent 7048461df1
commit f9625e9aca

View file

@ -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)
{
DBG("Cannot find neighbor\n");
nf->metric=LSINFINITY; /* delete this route */
continue;
}
nn=neigh_find(p,&neigh->ip,0);