diff options
author | Ondrej Filip <feela@network.cz> | 2004-07-13 11:58:50 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-07-13 11:58:50 +0000 |
commit | 621ccdfe5acd2889956ec0f8e96b812acd09f168 (patch) | |
tree | 61b4973caa5de3ca4197ca3b92c08759560ec787 /proto/ospf/ospf.c | |
parent | 9baece57d308d9e0d8eaab9d068471e1884817b8 (diff) |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index d948d652..ccdc502b 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 */ |