From: Ondrej Filip Date: Tue, 1 Jun 2004 14:06:25 +0000 (+0000) Subject: Bugfix in external routes calculation. X-Git-Tag: v1.2.0~361 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9625e9acabbdc5834f528e6fe1b87b8f4ce4968;p=thirdparty%2Fbird.git Bugfix in external routes calculation. --- diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 7450dbc2c..652aca8cd 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -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);