Bugfix in B-bit setting in router LSA.
This commit is contained in:
parent
78e2c6ccf1
commit
85062e8a60
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue