summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-03-10 18:53:37 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-03-10 18:53:37 +0100
commit4c9ddbc9698a55886dcc96c54b68a0f3fa5b55e3 (patch)
tree28b13a95fbdbfa11cdf99e3fb1184fe2cf151a55
parentd539eb4d13cd6a65dc90a0e2e65cc11352a51248 (diff)
parent7b04bc7473a44170f27bc645ee75de6a90bed9a5 (diff)
Merge pull request #339 from Seak/master
ifaces.lua:fix generating /etc/config/dhcp section
-rw-r--r--modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
index c2e5c72285..e092be6c38 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
+++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
@@ -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",