diff options
author | Ondrej Filip <feela@network.cz> | 2001-08-11 16:40:51 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2001-08-11 16:40:51 +0200 |
commit | 85062e8a600cc7896b8bcaf3960bb782aa9f2ff0 (patch) | |
tree | 43c899289391009af1a669537ed7d4f62faf78d2 /proto | |
parent | 78e2c6ccf16b41bc19a4cd69f959c8ae47e68b9d (diff) | |
download | bird-85062e8a600cc7896b8bcaf3960bb782aa9f2ff0.tar bird-85062e8a600cc7896b8bcaf3960bb782aa9f2ff0.zip |
Bugfix in B-bit setting in router LSA.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/ospf/topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index c07b1a7..f8a0d4c 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); |