From: Damien Neil Date: Tue, 8 Aug 2000 18:07:16 +0000 (+0000) Subject: The size of the OMAPI group object was being assigned as X-Git-Tag: V3-BETA-2-PATCH-1~55 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c284b6fd1bb339e89d057a2683be8dc8f4f335e6;p=thirdparty%2Fdhcp.git The size of the OMAPI group object was being assigned as sizeof(struct group), not sizeof(struct group_object). Fixed. --- diff --git a/common/comapi.c b/common/comapi.c index ce88d8960..0375e0ba9 100644 --- a/common/comapi.c +++ b/common/comapi.c @@ -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));