diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-09-09 16:05:14 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-09-09 16:05:14 +0000 |
commit | 038459c1259996a7d38efe970e245361c6e12bbf (patch) | |
tree | 379e605e176f5a43164b4e6559c59bfa76bfb3f9 /package/dnsmasq/files/dnsmasq.init | |
parent | 328f9d26d8cf0e0bff177653c20fab338337816e (diff) | |
download | upstream-038459c1259996a7d38efe970e245361c6e12bbf.tar.gz upstream-038459c1259996a7d38efe970e245361c6e12bbf.tar.bz2 upstream-038459c1259996a7d38efe970e245361c6e12bbf.zip |
Finally fix the usage of limit (#2240)
SVN-Revision: 8712
Diffstat (limited to 'package/dnsmasq/files/dnsmasq.init')
-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 49f10220bc..c39e58417f 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -195,7 +195,7 @@ dhcp_add() { leasetime="${leasetime:-12h}" start="$(dhcp_calc "${start:-100}")" limit="$((${limit:-150} + 1))" - eval "$(ipcalc.sh $ipaddr $netmask $start $end)" + eval "$(ipcalc.sh $ipaddr $netmask $start $limit)" append args "--dhcp-range=$name,$START,$END,$NETMASK,$leasetime${options:+ $options}" dhcp_option_add "$cfg" "$name" |