summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2007-05-04 21:47:15 +0000
committerDavid Hankins <dhankins@isc.org>2007-05-04 21:47:15 +0000
commit0c9cceb14391ddc4151af183dc58b7523aa5a59a (patch)
tree2ddbbb193b3acebe7ec6bd9b733d735a751c39a1
parent230c578e29e964c58ac673df65fb8f1b6f871a69 (diff)
downloadisc-dhcp-0c9cceb14391ddc4151af183dc58b7523aa5a59a.tar.gz
- 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.
-rw-r--r--server/mdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/mdb.c b/server/mdb.c
index 5b8e4e3e..6d5c91da 100644
--- a/server/mdb.c
+++ b/server/mdb.c
@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
-"$Id: mdb.c,v 1.83.16.4 2007/04/26 20:06:50 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
+"$Id: mdb.c,v 1.83.16.5 2007/05/04 21:47:15 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);
}