Skip to content
Snippets Groups Projects
Commit 0fd984fc authored by Travis Kemen's avatar Travis Kemen
Browse files

fix limit

SVN-Revision: 20275
parent 4c0b32c0
No related branches found
No related tags found
No related merge requests found
...@@ -263,7 +263,7 @@ dhcp_add() { ...@@ -263,7 +263,7 @@ dhcp_add() {
leasetime="${leasetime:-12h}" leasetime="${leasetime:-12h}"
start="$(dhcp_calc "${start:-100}")" start="$(dhcp_calc "${start:-100}")"
limit="$(${limit:-150})" limit="${limit:-150}"
eval "$(ipcalc.sh $ipaddr $netmask $start $limit)" eval "$(ipcalc.sh $ipaddr $netmask $start $limit)"
if [ "$dynamicdhcp" = "0" ]; then END="static"; fi if [ "$dynamicdhcp" = "0" ]; then END="static"; fi
append args "--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime${options:+ $options}" append args "--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime${options:+ $options}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment