]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Tweak omapi_protocol_connect() so that authenticators are sent in the
authorDamien Neil <source@isc.org>
Mon, 30 Oct 2000 18:48:07 +0000 (18:48 +0000)
committerDamien Neil <source@isc.org>
Mon, 30 Oct 2000 18:48:07 +0000 (18:48 +0000)
proper order.

omapip/protocol.c

index d222e5c818915572cccb92baeee4a3b74b75d8b2..ac1d63bd1494d68fc0820472ce09b70818980073 100644 (file)
@@ -102,12 +102,14 @@ isc_result_t omapi_protocol_connect (omapi_object_t *h,
                }
 
                obj -> insecure = 0;
+               status = ISC_R_INCOMPLETE;
        } else {
                obj -> insecure = 1;
+               status = ISC_R_SUCCESS;
        }
 
        omapi_protocol_dereference (&obj, MDL);
-       return ISC_R_SUCCESS;
+       return status;
 }
 
 /* Send the protocol introduction message. */