diff options
author | Ted Lemon <source@isc.org> | 2000-08-31 04:39:18 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-08-31 04:39:18 +0000 |
commit | 275082ddad1d73c8aeaf527e93491dcbe76ffaf1 (patch) | |
tree | 0c1a835f10899107e9eb47b67b055af52c6b806d /dhcpctl/dhcpctl.c | |
parent | 8d3aec71d313ebe7461b30c41b0ced920ff4ce36 (diff) | |
download | isc-dhcp-275082ddad1d73c8aeaf527e93491dcbe76ffaf1.tar.gz |
Support ISC_R_INCOMPLETE for partial connects.
Diffstat (limited to 'dhcpctl/dhcpctl.c')
-rw-r--r-- | dhcpctl/dhcpctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dhcpctl/dhcpctl.c b/dhcpctl/dhcpctl.c index cf1a6014..9fe647bb 100644 --- a/dhcpctl/dhcpctl.c +++ b/dhcpctl/dhcpctl.c @@ -100,7 +100,9 @@ dhcpctl_status dhcpctl_connect (dhcpctl_handle *connection, status = omapi_protocol_connect (*connection, server_name, (unsigned)port, authinfo); - if (status != ISC_R_SUCCESS) { + if (status == ISC_R_SUCCESS) + return status; + if (status != ISC_R_INCOMPLETE) { omapi_object_dereference (connection, MDL); return status; } |