From: Shane Kerr Date: Tue, 18 Dec 2007 17:01:48 +0000 (+0000) Subject: Fixed definition of iaaddr hash to use correct reference and dereference X-Git-Tag: v4_1_0a1~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1dcc3612602330864d148bdb1fb724e51953dde1;p=thirdparty%2Fdhcp.git Fixed definition of iaaddr hash to use correct reference and dereference functions. See RT ticket #17371 for more. --- diff --git a/RELNOTES b/RELNOTES index bee6dc6ed..eedc82006 100644 --- a/RELNOTES +++ b/RELNOTES @@ -53,7 +53,7 @@ may not work on other platforms. Please report any problems and suggested fixes to . - Chagnes since 4.0.0 + Changes since 4.0.0 - The warning logged when an address range doesn't fit in the subnets they were declared has been updated to be more helpful and identify the @@ -66,6 +66,9 @@ suggested fixes to . 'conflict-done' state message to be logged as 'unknown-state' has been repaired. It is now logged correctly. +- Fixed definition of the iaaddr hash functions to use the correct + functions when referencing and dereferencing memory. + Changes since 4.0.0b3 - The reverse dns name for PTR updates on IPv6 addresses has been fixed to diff --git a/server/mdb6.c b/server/mdb6.c index 5e48a29e6..e84edd706 100644 --- a/server/mdb6.c +++ b/server/mdb6.c @@ -35,7 +35,7 @@ HASH_FUNCTIONS(ia_na, unsigned char *, struct ia_na, ia_na_hash_t, ia_na_hash_t *ia_active; HASH_FUNCTIONS(iaaddr, struct in6_addr *, struct iaaddr, iaaddr_hash_t, - ia_na_reference, ia_na_dereference, do_string_hash); + iaaddr_reference, iaaddr_dereference, do_string_hash); struct ipv6_pool **pools; int num_pools;