diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-31 16:52:22 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-31 16:52:22 +0200 |
commit | 9a04d0307e85913554122a2dd0397486b5ef702c (patch) | |
tree | a62cf7e499b16a93486d94bc9fa848b537e0c417 /proto/ospf | |
parent | 528932368ac5c5ffe6ee3412fc8e9e1cb9cbd7db (diff) | |
download | bird-9a04d0307e85913554122a2dd0397486b5ef702c.tar bird-9a04d0307e85913554122a2dd0397486b5ef702c.zip |
Delete _all_ ext routes from unreachable neighbor.
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/rt.c | 2 |
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) { |