mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[#1540] Removed useless getLease4 variant
This commit is contained in:
@@ -2268,16 +2268,6 @@ MySqlLeaseMgr::getLease4(const ClientId& clientid) const {
|
||||
return (result);
|
||||
}
|
||||
|
||||
Lease4Ptr
|
||||
MySqlLeaseMgr::getLease4(const ClientId&, const HWAddr&, SubnetID) const {
|
||||
/// This function is currently not implemented because allocation engine
|
||||
/// searches for the lease using HW address or client identifier.
|
||||
/// It never uses both parameters in the same time. We need to
|
||||
/// consider if this function is needed at all.
|
||||
isc_throw(NotImplemented, "The MySqlLeaseMgr::getLease4 function was"
|
||||
" called, but it is not implemented");
|
||||
}
|
||||
|
||||
Lease4Ptr
|
||||
MySqlLeaseMgr::getLease4(const ClientId& clientid, SubnetID subnet_id) const {
|
||||
LOG_DEBUG(dhcpsrv_logger, DHCPSRV_DBG_TRACE_DETAIL, DHCPSRV_MYSQL_GET_SUBID_CLIENTID)
|
||||
|
Reference in New Issue
Block a user