diff options
author | Travis Kemen <thepeople@openwrt.org> | 2010-03-18 15:50:05 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2010-03-18 15:50:05 +0000 |
commit | 98e306995ff0a2adf0e2267824af0cd50b93515a (patch) | |
tree | 83fd8b9566fea409637c64a6d79d6e3ebaf8f2d3 /package/dnsmasq | |
parent | 969c08021dbd062f97a08877852e10a23b717d96 (diff) | |
download | master-187ad058-98e306995ff0a2adf0e2267824af0cd50b93515a.tar.gz master-187ad058-98e306995ff0a2adf0e2267824af0cd50b93515a.tar.bz2 master-187ad058-98e306995ff0a2adf0e2267824af0cd50b93515a.zip |
fix limit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20275 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq')
-rw-r--r-- | package/dnsmasq/files/dnsmasq.init | 2 |
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}" |