Merge pull request #339 from Seak/master

ifaces.lua:fix generating /etc/config/dhcp section
This commit is contained in:
Jo-Philipp Wich 2015-03-10 18:53:37 +01:00
commit 4c9ddbc969

View file

@ -135,7 +135,7 @@ end
-- dhcp setup was requested, create section and reload page
if m:formvalue("cbid.dhcp._enable._enable") then
m.uci:section("dhcp", "dhcp", nil, {
m.uci:section("dhcp", "dhcp", arg[1], {
interface = arg[1],
start = "100",
limit = "150",