summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-03-06 23:28:27 +0000
committerTed Lemon <source@isc.org>2000-03-06 23:28:27 +0000
commit20b312c47d49ede0701914eb0060b1febae32257 (patch)
treeb1cbe79797c75ac1f3b2d759797612c9248bcde2 /server
parent287d577cac7d4136af8b2d0f5117c293d9e05396 (diff)
downloadisc-dhcp-20b312c47d49ede0701914eb0060b1febae32257.tar.gz
Update call to new_hash.
Diffstat (limited to 'server')
-rw-r--r--server/class.c4
-rw-r--r--server/confpars.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/server/class.c b/server/class.c
index 46c6bfdc..f42ffef5 100644
--- a/server/class.c
+++ b/server/class.c
@@ -22,7 +22,7 @@
#ifndef lint
static char copyright[] =
-"$Id: class.c,v 1.16 2000/01/25 01:36:29 mellon Exp $ Copyright (c) 1998 The Internet Software Consortium. All rights reserved.\n";
+"$Id: class.c,v 1.17 2000/03/06 23:27:14 mellon Exp $ Copyright (c) 1998 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -145,7 +145,7 @@ int check_collection (packet, lease, collection)
MDL);
data_string_forget (&data, MDL);
if (!class -> hash)
- class -> hash = new_hash ();
+ class -> hash = new_hash (0, 0);
add_hash (class -> hash,
nc -> hash_string.data,
nc -> hash_string.len,
diff --git a/server/confpars.c b/server/confpars.c
index acef6411..219f98ee 100644
--- a/server/confpars.c
+++ b/server/confpars.c
@@ -22,7 +22,7 @@
#ifndef lint
static char copyright[] =
-"$Id: confpars.c,v 1.102 2000/02/05 17:39:24 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: confpars.c,v 1.103 2000/03/06 23:28:27 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -1380,7 +1380,7 @@ struct class *parse_class_declaration (cfile, group, type)
}
data_string_copy (&class -> hash_string, &data, MDL);
if (!pc -> hash)
- pc -> hash = new_hash ();
+ pc -> hash = new_hash (0, 0);
add_hash (pc -> hash,
class -> hash_string.data,
class -> hash_string.len,