]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Delete _all_ ext routes from unreachable neighbor.
authorOndrej Filip <feela@network.cz>
Wed, 31 May 2000 14:52:22 +0000 (14:52 +0000)
committerOndrej Filip <feela@network.cz>
Wed, 31 May 2000 14:52:22 +0000 (14:52 +0000)
proto/ospf/rt.c

index d13c9e59a9ff43a524296b0c2ed9b36fc32e07f6..cfcba1fe415a67e934e6f4ddc805617395ffe5d9 100644 (file)
@@ -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)
     {