From: David Hankins Date: Fri, 4 May 2007 21:46:50 +0000 (+0000) Subject: - Error in rt16831 repaired...append the n_hw tail of the insert point to X-Git-Tag: v4_0_0a1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9163e15d4ec100db27f458290ade14f1db258ae1;p=thirdparty%2Fdhcp.git - Error in rt16831 repaired...append the n_hw tail of the insert point to the n_hw point of the current lease...not the n_uid tail. --- diff --git a/server/mdb.c b/server/mdb.c index efbd433ba..910c72dca 100644 --- a/server/mdb.c +++ b/server/mdb.c @@ -34,7 +34,7 @@ #ifndef lint static char copyright[] = -"$Id: mdb.c,v 1.87 2007/04/26 20:06:25 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n"; +"$Id: mdb.c,v 1.88 2007/05/04 21:46:50 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -1910,7 +1910,7 @@ hw_hash_add(struct lease *lease) lease, MDL); } else /* (prev != NULL) */ { if(prev->n_hw != NULL) { - lease_reference(&lease->n_hw, prev->n_uid, + lease_reference(&lease->n_hw, prev->n_hw, MDL); lease_dereference(&prev->n_hw, MDL); }