]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bugfix in external routes calculation.
authorOndrej Filip <feela@network.cz>
Tue, 1 Jun 2004 14:06:25 +0000 (14:06 +0000)
committerOndrej Filip <feela@network.cz>
Tue, 1 Jun 2004 14:06:25 +0000 (14:06 +0000)
proto/ospf/rt.c

index 7450dbc2c6fa015a04ae529fb90efeee593d3277..652aca8cd92914bc221868fa93ec451342ef2ab6 100644 (file)
@@ -453,6 +453,7 @@ ospf_ext_spfa(struct proto_ospf *po)        /* FIXME looking into inter-area */
           if((neigh=find_neigh_noifa(po,absr->lsa.rt))==NULL)
          {
              DBG("Cannot find neighbor\n");
+             nf->metric=LSINFINITY;     /* delete this route */
             continue;
          }
           nn=neigh_find(p,&neigh->ip,0);