/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 c2e5c72285dcd9b2a972dae8b36d4d0ba5b4d97a..e092be6c383faf4a247304981edc38f9ff7acd6d 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",