]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bugfix in router importation.
authorOndrej Filip <feela@network.cz>
Fri, 7 Dec 2001 17:34:09 +0000 (17:34 +0000)
committerOndrej Filip <feela@network.cz>
Fri, 7 Dec 2001 17:34:09 +0000 (17:34 +0000)
proto/ospf/rt.c

index 8a6990e23b1556c6a75c3d3a2d4e2e3bade883b2..b8cbbd146dd1cdabae53a83c2fd04f04ae0ebf2e 100644 (file)
@@ -200,7 +200,7 @@ again:
     else
     {
       /* Update routing table */
-      if(nf->en->nhi==NULL)
+      if(ipa_equal(nf->en->nh,ipa_from_u32(0)))
       {
         struct top_hash_entry *en=nf->en;
         struct ospf_neighbor *neigh;