From 9a04d0307e85913554122a2dd0397486b5ef702c Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 31 May 2000 14:52:22 +0000 Subject: Delete _all_ ext routes from unreachable neighbor. --- proto/ospf/rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto') 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) { -- cgit v1.2.3