From 038459c1259996a7d38efe970e245361c6e12bbf Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 9 Sep 2007 16:05:14 +0000 Subject: [PATCH] Finally fix the usage of limit (#2240) SVN-Revision: 8712 --- package/dnsmasq/files/dnsmasq.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.25.1