]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Update call to new_hash.
authorTed Lemon <source@isc.org>
Mon, 6 Mar 2000 23:28:27 +0000 (23:28 +0000)
committerTed Lemon <source@isc.org>
Mon, 6 Mar 2000 23:28:27 +0000 (23:28 +0000)
server/class.c
server/confpars.c

index 46c6bfdc2a34e92d51cd98e6c68d0641053cd9d1..f42ffef599495caa1d5cd2657aef4c2d25bad6b5 100644 (file)
@@ -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,
index acef6411c455e8644253313dd633a097b0564944..219f98eee776a6adcb44dbfb8fc33688904ccead 100644 (file)
@@ -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,