projects
/
openwrt
/
staging
/
aparcar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
328f9d2
)
Finally fix the usage of limit (#2240)
author
Florian Fainelli
<florian@openwrt.org>
Sun, 9 Sep 2007 16:05:14 +0000
(16:05 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sun, 9 Sep 2007 16:05:14 +0000
(16:05 +0000)
SVN-Revision: 8712
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index 49f10220bc9b18485082ed42af277d9e1637c63c..c39e58417f33c38f4e67c6197ca1e016b79888c1 100644
(file)
--- 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"