From 1ed509132fd925998b5301638bc026efbffcfa13 Mon Sep 17 00:00:00 2001 From: Conrad Lara - KG6JEI Date: Fri, 12 Dec 2014 00:08:31 -0800 Subject: [PATCH] bugfix: dhcp lease dropdown lists too many addresses. fixes BBHN->ticket:69 --- files/www/cgi-bin/ports | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/www/cgi-bin/ports b/files/www/cgi-bin/ports index c4627c34..91ee5113 100755 --- a/files/www/cgi-bin/ports +++ b/files/www/cgi-bin/ports @@ -146,7 +146,7 @@ foreach(`cat /etc/config/dhcp`) $dhcp_start = $1 if /option start\s+(\d+)/; $dhcp_limit = $1 if /option limit\s+(\d+)/; } -$dhcp_end = $dhcp_start + $dhcp_limit; +$dhcp_end = $dhcp_start + $dhcp_limit - 1; #