summaryrefslogtreecommitdiff
path: root/proto/ospf/rt.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/rt.c')
-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 7450dbc2..652aca8c 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);