summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
author江海客 <github@jianghaike.com>2015-03-02 15:14:24 +0800
committer江海客 <github@jianghaike.com>2015-03-02 15:14:24 +0800
commit7b04bc7473a44170f27bc645ee75de6a90bed9a5 (patch)
tree800e2b2aca70945f50c8738beb7fb2d56af394dc /modules
parentde5ec52b8784cc44d9f7d391916b8d466ee8f5f6 (diff)
/etc/config/dhcp
config dhcp null
Diffstat (limited to 'modules')
-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 c2e5c7228..e092be6c3 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",