/etc/config/dhcp 339/head
author江海客 <github@jianghaike.com>
Mon, 2 Mar 2015 07:14:24 +0000 (15:14 +0800)
committer江海客 <github@jianghaike.com>
Mon, 2 Mar 2015 07:14:24 +0000 (15:14 +0800)
config dhcp null

modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua

index c2e5c72..e092be6 100644 (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",