summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsupd.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/lsupd.c
parente677d04aeb19e26da30e6a3ae94ad6e183d7af8e (diff)
downloadbird-d5d9693ce90c190ca7358b4ac71b9d034603a3ae.tar
bird-d5d9693ce90c190ca7358b4ac71b9d034603a3ae.zip
Deleted unused parameters.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r--proto/ospf/lsupd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index d906567..52531bf 100644
--- a/proto/ospf/lsupd.c
+++ b/proto/ospf/lsupd.c
@@ -350,7 +350,7 @@ ospf_lsupd_receive(struct ospf_lsupd_packet *ps,
/* pg 143 (1) */
chsum = lsa->checksum;
- if (chsum != lsasum_check(lsa, NULL, po))
+ if (chsum != lsasum_check(lsa, NULL))
{
log(L_WARN "Received bad lsa checksum from %I", n->ip);
continue;
@@ -433,7 +433,7 @@ ospf_lsupd_receive(struct ospf_lsupd_packet *ps,
OSPF_TRACE(D_EVENTS, "Premature aging self originated lsa.");
OSPF_TRACE(D_EVENTS, "Type: %d, Id: %I, Rt: %I", lsatmp.type,
lsatmp.id, lsatmp.rt);
- lsasum_check(lsa, (lsa + 1), po); /* It also calculates chsum! */
+ lsasum_check(lsa, (lsa + 1)); /* It also calculates chsum! */
lsatmp.checksum = ntohs(lsa->checksum);
ospf_lsupd_flood(NULL, lsa, &lsatmp, NULL, oa, 0);
if (en = ospf_hash_find_header(oa->gr, &lsatmp))
@@ -566,7 +566,7 @@ ospf_lsupd_flush_nlsa(struct top_hash_entry *en, struct ospf_area *oa)
lsa->age = LSA_MAXAGE;
lsa->sn = LSA_MAXSEQNO;
- lsasum_calculate(lsa, en->lsa_body, po);
+ lsasum_calculate(lsa, en->lsa_body);
OSPF_TRACE(D_EVENTS, "Premature aging self originated lsa!");
OSPF_TRACE(D_EVENTS, "Type: %d, Id: %I, Rt: %I", lsa->type,
lsa->id, lsa->rt);