diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-03 22:23:41 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-03 22:23:41 +0000 |
commit | a02c6c184b513fe1886c86533e696045e960515b (patch) | |
tree | 6e79323c4653dda8f87aa3b2e84d6233846a3cab /proto/ospf/lsalib.c | |
parent | ad5453b540b3c9d7430dcff9a3674d9db8ab999c (diff) |
Cleanup of code. Some arguments of functions were useless.
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r-- | proto/ospf/lsalib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c index 8c5ec680..4c416777 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); } } |