2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

Undo previous change.

This commit is contained in:
Ted Lemon
2001-04-20 19:24:20 +00:00
parent 9bf59e8353
commit c4cbdd1407

View File

@@ -670,15 +670,11 @@ isc_result_t omapi_connection_reaper (omapi_object_t *h)
log_debug ("omapi_connection_reaper(): disconnect");
#endif
omapi_disconnect (h, 1);
if (c -> outer && c -> outer -> type == omapi_type_io_object)
omapi_unregister_io_object (c -> outer);
}
if (c -> state == omapi_connection_closed) {
#ifdef DEBUG_PROTOCOL
log_debug ("omapi_connection_reaper(): closed");
#endif
if (c -> outer && c -> outer -> type == omapi_type_io_object)
omapi_unregister_io_object (c -> outer);
return ISC_R_NOTCONNECTED;
}
return ISC_R_SUCCESS;