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 | |
parent | 328f9d26d8cf0e0bff177653c20fab338337816e (diff) | |
download | mtk-20170518-038459c1259996a7d38efe970e245361c6e12bbf.zip mtk-20170518-038459c1259996a7d38efe970e245361c6e12bbf.tar.gz mtk-20170518-038459c1259996a7d38efe970e245361c6e12bbf.tar.bz2 |
Finally fix the usage of limit (#2240)
SVN-Revision: 8712
-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 49f1022..c39e584 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" |