summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-07-13 13:58:50 +0200
committerOndrej Filip <feela@network.cz>2004-07-13 13:58:50 +0200
commit621ccdfe5acd2889956ec0f8e96b812acd09f168 (patch)
tree61b4973caa5de3ca4197ca3b92c08759560ec787 /proto/ospf/ospf.c
parent9baece57d308d9e0d8eaab9d068471e1884817b8 (diff)
downloadbird-621ccdfe5acd2889956ec0f8e96b812acd09f168.tar
bird-621ccdfe5acd2889956ec0f8e96b812acd09f168.zip
Bugfix - options bits were not included in LSAs
Bugfix - E bit was not unset on stub areas.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index d948d65..ccdc502 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -150,6 +150,8 @@ ospf_start(struct proto *p)
add_area_nets(oa, ac);
fib_init(&oa->rtr, p->pool, sizeof(ort), 16, ospf_rt_initort);
if (oa->areaid == 0) po->backbone = oa;
+ oa->opt.byte = 0;
+ if(!oa->stub) oa->opt.bit.e = 1;
}
/* Add all virtual links as interfaces */