]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bugfix: Router was unable to advertise AS external routes.
authorOndrej Filip <feela@network.cz>
Tue, 13 Jul 2004 22:04:57 +0000 (22:04 +0000)
committerOndrej Filip <feela@network.cz>
Tue, 13 Jul 2004 22:04:57 +0000 (22:04 +0000)
proto/ospf/dbdes.c

index 2b65b1a34a8785ad9abbd45ce62a8003770ed3f0..6e84eddfafe53a59c3f3629263d06420d44a4e27 100644 (file)
@@ -80,7 +80,7 @@ ospf_dbdes_send(struct ospf_neighbor *n)
          struct top_hash_entry *en;
          en = (struct top_hash_entry *) sn;
 
-          if ((n->ifa->type != OSPF_IT_VLINK) && (en->lsa.type != LSA_T_EXT))
+          if ((n->ifa->type != OSPF_IT_VLINK) || (en->lsa.type != LSA_T_EXT))
           {
            htonlsah(&(en->lsa), lsa);
            DBG("Working on: %d\n", i);