mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 22:35:25 +00:00
Undo previous change.
This commit is contained in:
@@ -670,15 +670,11 @@ isc_result_t omapi_connection_reaper (omapi_object_t *h)
|
|||||||
log_debug ("omapi_connection_reaper(): disconnect");
|
log_debug ("omapi_connection_reaper(): disconnect");
|
||||||
#endif
|
#endif
|
||||||
omapi_disconnect (h, 1);
|
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) {
|
if (c -> state == omapi_connection_closed) {
|
||||||
#ifdef DEBUG_PROTOCOL
|
#ifdef DEBUG_PROTOCOL
|
||||||
log_debug ("omapi_connection_reaper(): closed");
|
log_debug ("omapi_connection_reaper(): closed");
|
||||||
#endif
|
#endif
|
||||||
if (c -> outer && c -> outer -> type == omapi_type_io_object)
|
|
||||||
omapi_unregister_io_object (c -> outer);
|
|
||||||
return ISC_R_NOTCONNECTED;
|
return ISC_R_NOTCONNECTED;
|
||||||
}
|
}
|
||||||
return ISC_R_SUCCESS;
|
return ISC_R_SUCCESS;
|
||||||
|
Reference in New Issue
Block a user