From 85062e8a600cc7896b8bcaf3960bb782aa9f2ff0 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sat, 11 Aug 2001 14:40:51 +0000 Subject: Bugfix in B-bit setting in router LSA. --- proto/ospf/topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index c07b1a79..f8a0d4ca 100644 --- a/proto/ospf/topology.c +++ b/proto/ospf/topology.c @@ -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); -- cgit v1.2.3