long requestedLeaseTime = null != requestedLeaseTimeOption ? requestedLeaseTimeOption.getIntValue() * 1000
: -1L;
// try to get the lease (address) requested by the client
InetAddress requestedAddress = null;
AddressOption requestedAddressOption = ( AddressOption ) request.getOptions().get( RequestedIpAddress.class );
if ( null != requestedAddressOption )
requestedAddress = requestedAddressOption.getAddress();
InetAddress selectionBase = determineSelectionBase( clientAddress, request );
Lease lease = dhcpStore.getLeaseOffer( request.getHardwareAddress(), requestedAddress, selectionBase,
requestedLeaseTime, request.getOptions() );