Merge pull request #339 from Seak/master
ifaces.lua:fix generating /etc/config/dhcp section
This commit is contained in:
commit
4c9ddbc969
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ end
|
||||||
|
|
||||||
-- dhcp setup was requested, create section and reload page
|
-- dhcp setup was requested, create section and reload page
|
||||||
if m:formvalue("cbid.dhcp._enable._enable") then
|
if m:formvalue("cbid.dhcp._enable._enable") then
|
||||||
m.uci:section("dhcp", "dhcp", nil, {
|
m.uci:section("dhcp", "dhcp", arg[1], {
|
||||||
interface = arg[1],
|
interface = arg[1],
|
||||||
start = "100",
|
start = "100",
|
||||||
limit = "150",
|
limit = "150",
|
||||||
|
|
Loading…
Reference in a new issue