]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Correctly handle the case where the connection doesn't complete immediately.
authorTed Lemon <source@isc.org>
Fri, 29 Sep 2000 18:12:50 +0000 (18:12 +0000)
committerTed Lemon <source@isc.org>
Fri, 29 Sep 2000 18:12:50 +0000 (18:12 +0000)
omapip/protocol.c

index f1fee6edeb7aff11c36bc2b32cf03d3497c1f417..d222e5c818915572cccb92baeee4a3b74b75d8b2 100644 (file)
@@ -66,7 +66,7 @@ isc_result_t omapi_protocol_connect (omapi_object_t *h,
                return status;
 
        status = omapi_connect ((omapi_object_t *)obj, server_name, port);
-       if (status != ISC_R_SUCCESS) {
+       if (status != ISC_R_SUCCESS && status != ISC_R_INCOMPLETE) {
                omapi_protocol_dereference (&obj, MDL);
                return status;
        }