]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- Fix the open lookup so that a result code of NOKEYS does not cause
authorTed Lemon <source@isc.org>
Fri, 1 Oct 1999 03:23:03 +0000 (03:23 +0000)
committerTed Lemon <source@isc.org>
Fri, 1 Oct 1999 03:23:03 +0000 (03:23 +0000)
  creates to fail.

omapip/message.c

index 8139cbc8093b5069e555ba26bf5ed697b438d13f..e3c49f89b1423d7ce980dce341d0e46f343eb04f 100644 (file)
@@ -485,7 +485,9 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
                status = (*(type -> lookup)) (&object, (omapi_object_t *)0,
                                              message -> object);
 
-               if (status != ISC_R_SUCCESS && status != ISC_R_NOTFOUND) {
+               if (status != ISC_R_SUCCESS &&
+                   status != ISC_R_NOTFOUND &&
+                   status != ISC_R_NOKEYS) {
                        return omapi_protocol_send_status
                                (po, (omapi_object_t *)0,
                                 status, message -> id,