Skip to content

Commit

Permalink
Cable-guy: DHCP servers with unspecified lease ranges now serve 101-200
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani authored and patrickelectric committed Sep 24, 2024
1 parent 06d007e commit 8cadef7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(

if ipv4_lease_range is None:
# If no lease-range is defined we offer all available IPs for lease
ipv4_lease_range = (list(self.ipv4_network.hosts())[0], list(self.ipv4_network.hosts())[-1])
ipv4_lease_range = (list(self.ipv4_network.hosts())[100], list(self.ipv4_network.hosts())[199])
self._ipv4_lease_range = ipv4_lease_range

self._lease_time = lease_time
Expand Down

0 comments on commit 8cadef7

Please sign in to comment.