#ifndef lint
static char copyright[] =
-"$Id: memory.c,v 1.22 1996/11/08 20:09:10 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: memory.c,v 1.23 1996/12/31 02:02:54 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
add_hash (user_class_hash,
tname, strlen (tname), (unsigned char *)class);
else
- add_hash (user_class_hash,
+ add_hash (vendor_class_hash,
tname, strlen (tname), (unsigned char *)class);
return class;
}
#ifndef lint
static char copyright[] =
-"$Id: dhcp.c,v 1.34 1996/09/11 05:52:18 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcp.c,v 1.35 1996/12/31 02:02:17 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
if (packet -> options [DHO_DHCP_USER_CLASS_ID].len) {
user_class =
- find_class (0,
+ find_class (1,
packet ->
options [DHO_DHCP_USER_CLASS_ID].data,
packet ->
#ifndef lint
static char copyright[] =
-"$Id: memory.c,v 1.22 1996/11/08 20:09:10 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: memory.c,v 1.23 1996/12/31 02:02:54 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
add_hash (user_class_hash,
tname, strlen (tname), (unsigned char *)class);
else
- add_hash (user_class_hash,
+ add_hash (vendor_class_hash,
tname, strlen (tname), (unsigned char *)class);
return class;
}
#ifndef lint
static char copyright[] =
-"$Id: dhcp.c,v 1.34 1996/09/11 05:52:18 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcp.c,v 1.35 1996/12/31 02:02:17 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
if (packet -> options [DHO_DHCP_USER_CLASS_ID].len) {
user_class =
- find_class (0,
+ find_class (1,
packet ->
options [DHO_DHCP_USER_CLASS_ID].data,
packet ->