summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-08 00:31:47 +0200
committerOndrej Filip <feela@network.cz>2000-06-08 00:31:47 +0200
commite9ab0b4212dc0939d782c991c86c362e09eb279f (patch)
treec3f963af420cbc13a847bd52344930396c65a4e5 /proto/ospf/topology.c
parentd5e4b51865c9532a9b886e942d30bb64dc87a675 (diff)
downloadbird-e9ab0b4212dc0939d782c991c86c362e09eb279f.tar
bird-e9ab0b4212dc0939d782c991c86c362e09eb279f.zip
Doc in lsalib.c + related minor changes.
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r--proto/ospf/topology.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 3b3f806..8affb1f 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -205,7 +205,7 @@ originate_rt_lsa(struct ospf_area *oa)
}
body=originate_rt_lsa_body(oa, &lsa.length, po);
lsasum_calculate(&lsa,body,po);
- en=lsa_install_new(&lsa, body, oa, &po->proto);
+ en=lsa_install_new(&lsa, body, oa);
oa->rt=en;
flood_lsa(NULL,NULL,&oa->rt->lsa,po,NULL,oa,1);
schedule_rtcalc(oa);
@@ -297,7 +297,7 @@ originate_net_lsa(struct ospf_iface *ifa)
body=originate_net_lsa_body(ifa, &lsa.length, po);
lsasum_calculate(&lsa,body,po);
- ifa->nlsa=lsa_install_new(&lsa, body, ifa->oa, &po->proto);
+ ifa->nlsa=lsa_install_new(&lsa, body, ifa->oa);
flood_lsa(NULL,NULL,&ifa->nlsa->lsa,po,NULL,ifa->oa,1);
}
@@ -401,7 +401,7 @@ originate_ext_lsa(net *n, rte *e, struct proto_ospf *po, struct ea_list *attrs)
lsasum_calculate(&lsa,body,po);
WALK_LIST(oa, po->area_list)
{
- en=lsa_install_new(&lsa, body, oa, &po->proto);
+ en=lsa_install_new(&lsa, body, oa);
flood_lsa(NULL,NULL,&en->lsa,po,NULL,oa,1);
body=originate_ext_lsa_body(n, e, po, attrs);
}