services_dhcp.php available range missing end of range
"Available range" on services_dhcp.php is missing the end of the range. For instance on the default 192.168.1.1/24 LAN interface, it should show 192.168.1.1 - 192.168.1.254, and it shows "192.168.1.1 - " currently.
Updated by Phillip Davis almost 6 years ago
On a 2.2.5 system:
$ifcfgip = "192.168.1.1";
$ifcfgsn = 24;
$y = gen_subnet($ifcfgip, $ifcfgsn);
$x = gen_subnet_max($ifcfgip, $ifcfgsn);
So gen_subnet_max and... that calculates the top end of a subnet is broken.
I will have a little look now.
Updated by Chris Buechler almost 6 years ago
- Assignee deleted (
Thanks Phil. Figure it's probably not all that difficult, but I'm in the middle of a slew of other things at the moment.
Not a Bootstrap issue so I'll put it to unassigned (and you're welcome to pick up anything that's assigned to anyone else anyway).