From: 江海客 Date: Mon, 2 Mar 2015 07:14:24 +0000 (+0800) Subject: /etc/config/dhcp X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=7b04bc7473a44170f27bc645ee75de6a90bed9a5;p=project%2Fluci.git /etc/config/dhcp config dhcp null --- 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",