summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-06 20:45:08 +0200
committerOndrej Filip <feela@network.cz>2004-06-06 20:45:08 +0200
commitd5d9693ce90c190ca7358b4ac71b9d034603a3ae (patch)
tree51bab1f9755d3d6715a74a66de056006eef31d9e /proto/ospf/topology.c
parente677d04aeb19e26da30e6a3ae94ad6e183d7af8e (diff)
downloadbird-d5d9693ce90c190ca7358b4ac71b9d034603a3ae.tar
bird-d5d9693ce90c190ca7358b4ac71b9d034603a3ae.zip
Deleted unused parameters.
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r--proto/ospf/topology.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 75e074a..f1e691c 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -198,7 +198,7 @@ originate_rt_lsa(struct ospf_area *oa)
lsa.sn = oa->rt->lsa.sn + 1;
}
body = originate_rt_lsa_body(oa, &lsa.length);
- lsasum_calculate(&lsa, body, po);
+ lsasum_calculate(&lsa, body);
en = lsa_install_new(&lsa, body, oa);
oa->rt = en;
en->dist = 0; /* Force area aging */
@@ -299,7 +299,7 @@ originate_net_lsa(struct ospf_iface *ifa)
}
body = originate_net_lsa_body(ifa, &lsa.length, po);
- lsasum_calculate(&lsa, body, po);
+ lsasum_calculate(&lsa, body);
ifa->nlsa = lsa_install_new(&lsa, body, ifa->oa);
ospf_lsupd_flood(NULL, NULL, &ifa->nlsa->lsa, NULL, ifa->oa, 1);
ifa->orignet = 0;
@@ -437,7 +437,7 @@ originate_ext_lsa(net * n, rte * e, struct proto_ospf *po,
mb_free(body);
return;
}
- lsasum_calculate(&lsa, body, po);
+ lsasum_calculate(&lsa, body);
WALK_LIST(oa, po->area_list)
{
en = lsa_install_new(&lsa, body, oa);
@@ -514,7 +514,7 @@ ospf_top_hash(struct top_graph *f, u32 lsaid, u32 rtrid, u32 type)
* its used in @ospf_area structure.
*/
struct top_graph *
-ospf_top_new(pool * pool, struct proto_ospf *p)
+ospf_top_new(pool *pool)
{
struct top_graph *f;