diff options
Diffstat (limited to 'dhcpctl/remote.c')
-rw-r--r-- | dhcpctl/remote.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dhcpctl/remote.c b/dhcpctl/remote.c index a35e5ce1..0ec119a4 100644 --- a/dhcpctl/remote.c +++ b/dhcpctl/remote.c @@ -164,7 +164,7 @@ dhcpctl_status dhcpctl_new_object (dhcpctl_handle *h, flags include: DHCPCTL_CREATE - if the object doesn't exist, create it DHCPCTL_UPDATE - update the object on the server using the - attached parameters + attached parameters DHCPCTL_EXCL - error if the object exists and DHCPCTL_CREATE was also specified */ @@ -281,7 +281,7 @@ isc_result_t dhcpctl_remote_get_value (omapi_object_t *h, { if (h -> type != dhcpctl_remote_type) return DHCP_R_INVALIDARG; - + if (h -> inner && h -> inner -> type -> get_value) return (*(h -> inner -> type -> get_value)) (h -> inner, id, name, value); @@ -352,4 +352,3 @@ isc_result_t dhcpctl_remote_stuff_values (omapi_object_t *c, p -> inner); return ISC_R_SUCCESS; } - |