2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-01 14:55:30 +00:00

The size of the OMAPI group object was being assigned as

sizeof(struct group), not sizeof(struct group_object).  Fixed.
This commit is contained in:
Damien Neil
2000-08-08 18:07:16 +00:00
parent 61f7ecee77
commit c284b6fd1b

View File

@@ -50,7 +50,7 @@
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: comapi.c,v 1.4 2000/08/03 22:41:06 neild Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n"; "$Id: comapi.c,v 1.5 2000/08/08 18:07:16 neild Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@@ -77,7 +77,7 @@ void dhcp_common_objects_setup ()
dhcp_group_lookup, dhcp_group_lookup,
dhcp_group_create, dhcp_group_create,
dhcp_group_remove, 0, 0, 0, dhcp_group_remove, 0, 0, 0,
sizeof (struct group)); sizeof (struct group_object));
if (status != ISC_R_SUCCESS) if (status != ISC_R_SUCCESS)
log_fatal ("Can't register group object type: %s", log_fatal ("Can't register group object type: %s",
isc_result_totext (status)); isc_result_totext (status));