diff options
-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" |