summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsalib.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-04 00:23:41 +0200
committerOndrej Filip <feela@network.cz>2000-05-04 00:23:41 +0200
commita02c6c184b513fe1886c86533e696045e960515b (patch)
tree6e79323c4653dda8f87aa3b2e84d6233846a3cab /proto/ospf/lsalib.c
parentad5453b540b3c9d7430dcff9a3674d9db8ab999c (diff)
downloadbird-a02c6c184b513fe1886c86533e696045e960515b.tar
bird-a02c6c184b513fe1886c86533e696045e960515b.zip
Cleanup of code. Some arguments of functions were useless.
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r--proto/ospf/lsalib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c
index 8c5ec68..4c41677 100644
--- a/proto/ospf/lsalib.c
+++ b/proto/ospf/lsalib.c
@@ -17,8 +17,9 @@ flush_lsa(struct top_hash_entry *en)
void
ospf_age(struct top_hash_entry *en, bird_clock_t delta, int flush,
- struct proto *p)
+ struct ospf_area *oa)
{
+ struct proto *p=&oa->po->proto;
if(en->lsa.age==LSA_MAXAGE)
{
if(flush) flush_lsa(en);
@@ -391,7 +392,7 @@ lsa_install_new(struct ospf_lsa_header *lsa, void *body, struct ospf_area *oa,
if(oa->rt!=NULL)
{
DBG("Starting routing table calculation.\n");
- ospf_rt_spfa(oa, p);
+ ospf_rt_spfa(oa);
}
}