mirror of https://github.com/aredn/aredn.git
bugfix: dhcp lease dropdown lists too many addresses.
fixes BBHN->ticket:69
This commit is contained in:
parent
44bf0bd4f0
commit
1ed509132f
|
@ -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;
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue