we could just pass $subnet->{'dhcp-range'} directly instead of adding the ternary, it will be undefined then and add_next_free_ip just checks for truthiness.
_______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel