From: Ted Lemon Date: Fri, 1 Oct 1999 03:23:03 +0000 (+0000) Subject: - Fix the open lookup so that a result code of NOKEYS does not cause X-Git-Tag: V3-BETA-1-PATCH-2~5^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c4358e7d2ad0bc5b0a69c2580da83293a6c4862;p=thirdparty%2Fdhcp.git - Fix the open lookup so that a result code of NOKEYS does not cause creates to fail. --- diff --git a/omapip/message.c b/omapip/message.c index 8139cbc80..e3c49f89b 100644 --- a/omapip/message.c +++ b/omapip/message.c @@ -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,