diff options
author | Damien Neil <source@isc.org> | 2000-08-08 18:07:16 +0000 |
---|---|---|
committer | Damien Neil <source@isc.org> | 2000-08-08 18:07:16 +0000 |
commit | c284b6fd1bb339e89d057a2683be8dc8f4f335e6 (patch) | |
tree | 34c456f281abe6bfda93572b1e90fd93d05e4a64 /common/comapi.c | |
parent | 61f7ecee7730173d792b717a05e1bcb1a0812482 (diff) | |
download | isc-dhcp-c284b6fd1bb339e89d057a2683be8dc8f4f335e6.tar.gz |
The size of the OMAPI group object was being assigned as
sizeof(struct group), not sizeof(struct group_object). Fixed.
Diffstat (limited to 'common/comapi.c')
-rw-r--r-- | common/comapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/comapi.c b/common/comapi.c index ce88d896..0375e0ba 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)); |