dhcp module update

This commit is contained in:
Nathan Gieseker
2019-06-26 01:25:22 -07:00
parent addbcd34b4
commit ce60e8eb3d
9 changed files with 123 additions and 52 deletions

View File

@@ -25,8 +25,8 @@ type LeasePool interface {
*/
GetLease(net.IP) (bool, Lease, error)
//Get the lease already in use by that hardware address.
GetLeaseForHardwareAddress(net.HardwareAddr) (bool, Lease, error)
//Get the lease already in use by that hardware address and/or client identifier.
GetLeaseForClient(net.HardwareAddr, []byte) (bool, Lease, error)
/*
* -Lease Available