]> git.proxmox.com Git - pve-network.git/commit
dhcp: fix allocating IP for every defined dhcp-range
authorStefan Hanreich <s.hanreich@proxmox.com>
Tue, 21 Nov 2023 12:40:12 +0000 (13:40 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 21 Nov 2023 13:48:36 +0000 (14:48 +0100)
commit04e1c8ed739bb04afcf9abdef5f64ef7e79d18ad
treeea369b139a7e7547331665d4ce19adeb4f089179
parent5ab15238af15645a8ebbdf5703f365e0c6644b41
dhcp: fix allocating IP for every defined dhcp-range

Due to the wrong check an IP was allocated for every DHCP range,
instead of only allocating an IP in the first free DHCP range.

Suggested-By: Stefan Lendl <s.lendl@proxmox.com>
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
src/PVE/Network/SDN/Subnets.pm