From e3e05b89d40f13fbdce5a6bb81a99d63a6ffd819 Mon Sep 17 00:00:00 2001 From: taca Date: Thu, 2 Nov 2000 03:14:02 +0000 Subject: [PATCH] Patch from the ISC DHCP CVS repository: : Tweak omapi_protocol_connect() so that authenticators are sent in the : proper order. --- usr.sbin/dhcp/omapip/protocol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/dhcp/omapip/protocol.c b/usr.sbin/dhcp/omapip/protocol.c index d222e5c81891..ac1d63bd1494 100644 --- a/usr.sbin/dhcp/omapip/protocol.c +++ b/usr.sbin/dhcp/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. */