From c6e4aa390363a570a85db501720e8ff13c0028db Mon Sep 17 00:00:00 2001 From: Conrad Lara - KG6JEI Date: Thu, 24 Jul 2014 21:58:20 -0700 Subject: [PATCH] bugfix: DHCP Lease limit is down by one from what it should be. ref BBHN->ticket:57 --- files/www/cgi-bin/setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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