]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bugfix in B-bit setting in router LSA.
authorOndrej Filip <feela@network.cz>
Sat, 11 Aug 2001 14:40:51 +0000 (14:40 +0000)
committerOndrej Filip <feela@network.cz>
Sat, 11 Aug 2001 14:40:51 +0000 (14:40 +0000)
proto/ospf/topology.c

index c07b1a793bd2d1c775d2830c2265317d3988508b..f8a0d4ca7fff25a4a4c79d408be33e0b695a2ef0 100644 (file)
@@ -45,7 +45,7 @@ originate_rt_lsa_body(struct ospf_area *oa, u16 *length, struct proto_ospf *p)
   }
   rt=mb_allocz(p->proto.pool, sizeof(struct ospf_lsa_rt)+
     i*sizeof(struct ospf_lsa_rt_link));
-  if((p->areano>1) && (!oa->stub)) rt->veb.bit.b=1;
+  if(p->areano>1) rt->veb.bit.b=1;
   if((p->ebit)&&(!oa->stub)) rt->veb.bit.e=1;
   rt->veb.bit.v=v;
   ln=(struct ospf_lsa_rt_link *)(rt+1);