From a02c6c184b513fe1886c86533e696045e960515b Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 3 May 2000 22:23:41 +0000 Subject: Cleanup of code. Some arguments of functions were useless. --- proto/ospf/lsalib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'proto/ospf/lsalib.c') 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); } } -- cgit v1.2.3