From 621ccdfe5acd2889956ec0f8e96b812acd09f168 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 13 Jul 2004 11:58:50 +0000 Subject: Bugfix - options bits were not included in LSAs Bugfix - E bit was not unset on stub areas. --- proto/ospf/ospf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'proto/ospf/ospf.c') 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 */ -- cgit v1.2.3