]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
The size of the OMAPI group object was being assigned as
authorDamien Neil <source@isc.org>
Tue, 8 Aug 2000 18:07:16 +0000 (18:07 +0000)
committerDamien Neil <source@isc.org>
Tue, 8 Aug 2000 18:07:16 +0000 (18:07 +0000)
sizeof(struct group), not sizeof(struct group_object).  Fixed.

common/comapi.c

index ce88d896066bd64250d93423b032626276b8908c..0375e0ba9b2dfabcaaa3f0f25916f8c09c4c3eaf 100644 (file)
@@ -50,7 +50,7 @@
 
 #ifndef lint
 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 */
 
 #include "dhcpd.h"
@@ -77,7 +77,7 @@ void dhcp_common_objects_setup ()
                                             dhcp_group_lookup, 
                                             dhcp_group_create,
                                             dhcp_group_remove, 0, 0, 0,
-                                            sizeof (struct group));
+                                            sizeof (struct group_object));
        if (status != ISC_R_SUCCESS)
                log_fatal ("Can't register group object type: %s",
                           isc_result_totext (status));