bugfix: DHCP Lease limit is down by one from what it should be.

ref BBHN->ticket:57
This commit is contained in:
Conrad Lara - KG6JEI 2014-07-24 21:58:20 -07:00
parent 422e40c5ea
commit c6e4aa3903
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@ if($dmz_mode)
}
# derive values which are not explicitly defined
$parms{dhcp_limit} = $dhcp_limit = $dhcp_end - $dhcp_start;
$parms{dmz_dhcp_limit} = $dmz_dhcp_limit = $dmz_dhcp_end - $dmz_dhcp_start;
$parms{dhcp_limit} = $dhcp_limit = $dhcp_end - $dhcp_start + 1;
$parms{dmz_dhcp_limit} = $dmz_dhcp_limit = $dmz_dhcp_end - $dmz_dhcp_start + 1;
#
# get the active wifi settings on a fresh page load