bugfix: dhcp lease dropdown lists too many addresses.

fixes BBHN->ticket:69
This commit is contained in:
Conrad Lara - KG6JEI 2014-12-12 00:08:31 -08:00
parent 44bf0bd4f0
commit 1ed509132f
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ foreach(`cat /etc/config/dhcp`)
$dhcp_start = $1 if /option start\s+(\d+)/; $dhcp_start = $1 if /option start\s+(\d+)/;
$dhcp_limit = $1 if /option limit\s+(\d+)/; $dhcp_limit = $1 if /option limit\s+(\d+)/;
} }
$dhcp_end = $dhcp_start + $dhcp_limit; $dhcp_end = $dhcp_start + $dhcp_limit - 1;
# #