summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index d13c9e5..cfcba1f 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -318,7 +318,7 @@ ospf_ext_spfa(struct proto_ospf *po) /* FIXME looking into inter-area */
}
}
}
- if(absr==NULL) continue;
+ if((absr==NULL)||(absr->dist==LSINFINITY)) continue;
if(ipa_compare(lt->fwaddr,ipa_from_u32(0))==0)
{