summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-07 23:50:58 +0000
committerSteven Barth <steven@midlink.org>2008-09-07 23:50:58 +0000
commit19c79a30b91354932b12ffb9f866471b06a570df (patch)
tree52a58805cf101d318f4cfa8afdde264b4cf75ca1 /modules/admin-full/luasrc/model
parent554286bdc686b30ef70fedaa3765c920cfd27836 (diff)
Fixed DHCP-Options and some CBI stuff
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua b/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
index 42b93b5994..17dcdb8f00 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
@@ -56,10 +56,7 @@ s:option(Value, "netmask", translate("netmask")).optional = true
s:option(Flag, "force").optional = true
-for i, line in pairs(luci.util.execl("dnsmasq --help dhcp")) do
- k, v = line:match("([^ ]+) +([^ ]+)")
- s:option(Value, "dhcp"..k, v).optional = true
-end
+s:option(DynamicList, "dhcp_option").optional = true
for i, n in ipairs(s.children) do