diff options
author | Steven Barth <steven@midlink.org> | 2008-09-07 23:50:58 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-07 23:50:58 +0000 |
commit | 19c79a30b91354932b12ffb9f866471b06a570df (patch) | |
tree | 52a58805cf101d318f4cfa8afdde264b4cf75ca1 /modules/admin-full | |
parent | 554286bdc686b30ef70fedaa3765c920cfd27836 (diff) |
Fixed DHCP-Options and some CBI stuff
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 5 |
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 |