summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-01 16:06:25 +0200
committerOndrej Filip <feela@network.cz>2004-06-01 16:06:25 +0200
commitf9625e9acabbdc5834f528e6fe1b87b8f4ce4968 (patch)
treec15d9b534446e50df7fd1eac2dd22e665bcd245c /proto/ospf
parent7048461df113b335b9cfc56c517bc5802ef7b6c8 (diff)
downloadbird-f9625e9acabbdc5834f528e6fe1b87b8f4ce4968.tar
bird-f9625e9acabbdc5834f528e6fe1b87b8f4ce4968.zip
Bugfix in external routes calculation.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/rt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index 7450dbc..652aca8 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);