dhcp4d: increase lease range to cover existing leases

This commit is contained in:
Michael Stapelberg 2018-06-18 19:29:42 +02:00
parent 4b6b5196b0
commit 34d494b85c

View File

@ -54,7 +54,7 @@ func NewHandler(dir string) (*Handler, error) {
leasesIP: make(map[int]*Lease),
serverIP: serverIP,
start: start,
leaseRange: 200,
leaseRange: 230,
leasePeriod: 2 * time.Hour,
options: dhcp4.Options{
dhcp4.OptionSubnetMask: []byte{255, 255, 255, 0},