diff options
Diffstat (limited to 'common/comapi.c')
-rw-r--r-- | common/comapi.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/common/comapi.c b/common/comapi.c index 656f1d70..d1bfe8ae 100644 --- a/common/comapi.c +++ b/common/comapi.c @@ -3,7 +3,7 @@ OMAPI object interfaces for the DHCP server. */ /* - * Copyright (c) 2004-2017 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2022 Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1999-2003 by Internet Software Consortium * * This Source Code Form is subject to the terms of the Mozilla Public @@ -19,8 +19,8 @@ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * Internet Systems Consortium, Inc. - * 950 Charter Street - * Redwood City, CA 94063 + * PO Box 360 + * Newmarket, NH 03857 USA * <info@isc.org> * https://www.isc.org/ * @@ -59,7 +59,7 @@ void dhcp_common_objects_setup () dhcp_control_destroy, dhcp_control_signal_handler, dhcp_control_stuff_values, - dhcp_control_lookup, + dhcp_control_lookup, dhcp_control_create, dhcp_control_remove, 0, 0, 0, sizeof (dhcp_control_object_t), @@ -80,7 +80,7 @@ void dhcp_common_objects_setup () dhcp_group_destroy, dhcp_group_signal_handler, dhcp_group_stuff_values, - dhcp_group_lookup, + dhcp_group_lookup, dhcp_group_create, dhcp_group_remove, 0, 0, 0, sizeof (struct group_object), 0, @@ -96,7 +96,7 @@ void dhcp_common_objects_setup () dhcp_subnet_destroy, dhcp_subnet_signal_handler, dhcp_subnet_stuff_values, - dhcp_subnet_lookup, + dhcp_subnet_lookup, dhcp_subnet_create, dhcp_subnet_remove, 0, 0, 0, sizeof (struct subnet), 0, @@ -113,7 +113,7 @@ void dhcp_common_objects_setup () dhcp_shared_network_destroy, dhcp_shared_network_signal_handler, dhcp_shared_network_stuff_values, - dhcp_shared_network_lookup, + dhcp_shared_network_lookup, dhcp_shared_network_create, dhcp_shared_network_remove, 0, 0, 0, sizeof (struct shared_network), 0, RC_MISC); @@ -136,7 +136,7 @@ isc_result_t dhcp_group_set_value (omapi_object_t *h, return DHCP_R_INVALIDARG; group = (struct group_object *)h; - /* XXX For now, we can only set these values on new group objects. + /* XXX For now, we can only set these values on new group objects. XXX Soon, we need to be able to update group objects. */ if (!omapi_ds_strcmp (name, "name")) { if (group -> name) @@ -193,7 +193,7 @@ isc_result_t dhcp_group_set_value (omapi_object_t *h, if (status == ISC_R_SUCCESS || status == DHCP_R_UNCHANGED) return status; } - + return ISC_R_NOTFOUND; } @@ -461,7 +461,7 @@ isc_result_t dhcp_control_set_value (omapi_object_t *h, if (status == ISC_R_SUCCESS || status == DHCP_R_UNCHANGED) return status; } - + return ISC_R_NOTFOUND; } @@ -904,4 +904,3 @@ isc_result_t dhcp_shared_network_remove (omapi_object_t *lp, { return ISC_R_NOTIMPLEMENTED; } - |