diff --git a/files/www/cgi-bin/setup b/files/www/cgi-bin/setup index 5065a8b3..e1387f5a 100755 --- a/files/www/cgi-bin/setup +++ b/files/www/cgi-bin/setup @@ -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