mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 12:48:43 +00:00
Bugfix in B-bit setting in router LSA.
This commit is contained in:
parent
78e2c6ccf1
commit
85062e8a60
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user