From: Damien Neil Date: Mon, 30 Oct 2000 18:48:07 +0000 (+0000) Subject: Tweak omapi_protocol_connect() so that authenticators are sent in the X-Git-Tag: V3-BETA-1-PATCH-11~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=366556efc7e10f581ac292e1c8919c7f8467c20e;p=thirdparty%2Fdhcp.git Tweak omapi_protocol_connect() so that authenticators are sent in the proper order. --- diff --git a/omapip/protocol.c b/omapip/protocol.c index d222e5c81..ac1d63bd1 100644 --- a/omapip/protocol.c +++ b/omapip/protocol.c @@ -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. */