diff options
author | David Hankins <dhankins@isc.org> | 2006-06-01 20:23:18 +0000 |
---|---|---|
committer | David Hankins <dhankins@isc.org> | 2006-06-01 20:23:18 +0000 |
commit | f7fdb21693ec2f2ef44d8e8bebc4609e4d7b67c7 (patch) | |
tree | 32c2431210e7b34feaf85d66f714ce928655a48d /server/class.c | |
parent | ee912528163bb70b3c0de65608f9d05fff03044d (diff) | |
download | isc-dhcp-f7fdb21693ec2f2ef44d8e8bebc4609e4d7b67c7.tar.gz |
- Varying option space code and length bit widths (8/16/32) are now
supported. This is a milestone in acheiving RFC 3925 "VIVSO" and
DHCPv6 support. [ISC-Bugs #15979]
Diffstat (limited to 'server/class.c')
-rw-r--r-- | server/class.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/class.c b/server/class.c index 09f8926c..367a8be0 100644 --- a/server/class.c +++ b/server/class.c @@ -34,7 +34,7 @@ #ifndef lint static char copyright[] = -"$Id: class.c,v 1.32 2005/03/17 20:15:26 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n"; +"$Id: class.c,v 1.33 2006/06/01 20:23:17 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n"; #endif /* not lint */ @@ -190,7 +190,8 @@ int check_collection (packet, lease, collection) MDL); data_string_forget (&data, MDL); if (!class -> hash) - class_new_hash (&class -> hash, 0, MDL); + class_new_hash(&class->hash, + SCLASS_HASH_SIZE, MDL); class_hash_add (class -> hash, (const char *) nc -> hash_string.data, |