summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-31 14:52:22 +0000
committerOndrej Filip <feela@network.cz>2000-05-31 14:52:22 +0000
commit9a04d0307e85913554122a2dd0397486b5ef702c (patch)
treea62cf7e499b16a93486d94bc9fa848b537e0c417
parent528932368ac5c5ffe6ee3412fc8e9e1cb9cbd7db (diff)
Delete _all_ ext routes from unreachable neighbor.
-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 d13c9e59..cfcba1fe 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)
{