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/topology.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/ospf/topology.c') diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 215765e..c368d91 100644 --- a/proto/ospf/topology.c +++ b/proto/ospf/topology.c @@ -190,7 +190,7 @@ originate_rt_lsa(struct ospf_area *oa) lsa.id = rtid; lsa.type = LSA_T_RT; lsa.rt = rtid; - lsa.options = 0; + lsa.options = oa->opt.byte; if (oa->rt == NULL) { lsa.sn = LSA_INITSEQNO; @@ -290,7 +290,7 @@ originate_net_lsa(struct ospf_iface *ifa) lsa.id = ipa_to_u32(ifa->iface->addr->ip); lsa.type = LSA_T_NET; lsa.rt = rtid; - lsa.options = 0; + lsa.options = ifa->oa->opt.byte; if (ifa->nlsa == NULL) { lsa.sn = LSA_INITSEQNO; -- cgit v1.2.3