aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2010-03-18 15:50:05 +0000
committerTravis Kemen <thepeople@openwrt.org>2010-03-18 15:50:05 +0000
commit0fd984fc4fdfb40dd291fecea66a0b50a82c0d51 (patch)
tree7120613aa283fdd76d6869f5aca8d94a9a19153c /package/dnsmasq
parent4c0b32c02a17317dc247f92c74ff951309363a6c (diff)
downloadupstream-0fd984fc4fdfb40dd291fecea66a0b50a82c0d51.tar.gz
upstream-0fd984fc4fdfb40dd291fecea66a0b50a82c0d51.tar.bz2
upstream-0fd984fc4fdfb40dd291fecea66a0b50a82c0d51.zip
fix limit
SVN-Revision: 20275
Diffstat (limited to 'package/dnsmasq')
-rw-r--r--package/dnsmasq/files/dnsmasq.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 3509d9473b..1b6dee426a 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -263,7 +263,7 @@ dhcp_add() {
leasetime="${leasetime:-12h}"
start="$(dhcp_calc "${start:-100}")"
- limit="$(${limit:-150})"
+ limit="${limit:-150}"
eval "$(ipcalc.sh $ipaddr $netmask $start $limit)"
if [ "$dynamicdhcp" = "0" ]; then END="static"; fi
append args "--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime${options:+ $options}"