]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Allow return result of ISC_R_UNCHANGED in omapi_update_object.
authorTed Lemon <source@isc.org>
Sun, 1 Oct 2000 21:42:42 +0000 (21:42 +0000)
committerTed Lemon <source@isc.org>
Sun, 1 Oct 2000 21:42:42 +0000 (21:42 +0000)
omapip/support.c

index 05d82f026bcb14b585cb7f0aeb8429463b3a833d..3ddc6cbb390366c1edcdcebbf64ea7f23b489964 100644 (file)
@@ -530,7 +530,7 @@ isc_result_t omapi_object_update (omapi_object_t *obj, omapi_object_t *id,
                status = omapi_set_value (obj, id,
                                          gsrc -> values [i] -> name,
                                          gsrc -> values [i] -> value);
-               if (status != ISC_R_SUCCESS)
+               if (status != ISC_R_SUCCESS && status != ISC_R_UNCHANGED)
                        return status;
        }
        if (handle)