summaryrefslogtreecommitdiff
path: root/omapip
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-05-31 19:51:05 +0000
committerTed Lemon <source@isc.org>2001-05-31 19:51:05 +0000
commit2c7aaa8f125c62f4583ce67c2294663097efa9fa (patch)
tree3cbf4f085103a95d07c02fd2615f5d74034de307 /omapip
parent16694ee6a570cd7402fb0343a591e33f56debec3 (diff)
downloadisc-dhcp-2c7aaa8f125c62f4583ce67c2294663097efa9fa.tar.gz
- Let the lookup function check for keys if needed. This allows objects
that will only ever have one instance to be looked up without using a key.
Diffstat (limited to 'omapip')
-rw-r--r--omapip/message.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/omapip/message.c b/omapip/message.c
index 6c631fa7..6d40927b 100644
--- a/omapip/message.c
+++ b/omapip/message.c
@@ -547,12 +547,6 @@ omapi_message_process_internal (omapi_object_t *mo, omapi_object_t *po)
"unsearchable object type");
}
- if (!message -> object) {
- return omapi_protocol_send_status
- (po, message -> id_object,
- ISC_R_NOTFOUND, message -> id,
- "no lookup key specified");
- }
status = (*(type -> lookup)) (&object, message -> id_object,
message -> object);