From b49e6f5a65d437cb7e7bdefe8397e0f550496012 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 25 Aug 2009 16:42:14 +0200 Subject: Temporary OSPFv3 development commit --- proto/ospf/lsalib.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'proto/ospf/lsalib.c') diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c index 7c4001d9..4cbabcc1 100644 --- a/proto/ospf/lsalib.c +++ b/proto/ospf/lsalib.c @@ -384,12 +384,11 @@ lsa_install_new(struct proto_ospf *po, struct ospf_lsa_header *lsa, u32 domain, { /* LSA can be temporarrily, but body must be mb_allocated. */ int change = 0; - unsigned i; struct top_hash_entry *en; - if ((en = ospfxx_hash_find_header(po->gr, domain, lsa)) == NULL) + if ((en = ospf_hash_find_header(po->gr, domain, lsa)) == NULL) { - en = ospfxx_hash_get_header(po->gr, domain, lsa); + en = ospf_hash_get_header(po->gr, domain, lsa); change = 1; } else -- cgit v1.2.3