Merge pull request #403 from hnyman/fix-qos-l7
luci-app-qos: remove l7 options
This commit is contained in:
commit
abc1ed6148
1 changed files with 0 additions and 19 deletions
|
@ -53,25 +53,6 @@ dsth.rmempty = true
|
|||
dsth:value("", translate("all"))
|
||||
wa.cbi_add_knownips(dsth)
|
||||
|
||||
l7 = s:option(ListValue, "layer7", translate("Service"))
|
||||
l7.rmempty = true
|
||||
l7:value("", translate("all"))
|
||||
|
||||
local pats = io.popen("find /etc/l7-protocols/ -type f -name '*.pat'")
|
||||
if pats then
|
||||
local l
|
||||
while true do
|
||||
l = pats:read("*l")
|
||||
if not l then break end
|
||||
|
||||
l = l:match("([^/]+)%.pat$")
|
||||
if l then
|
||||
l7:value(l)
|
||||
end
|
||||
end
|
||||
pats:close()
|
||||
end
|
||||
|
||||
p = s:option(Value, "proto", translate("Protocol"))
|
||||
p:value("", translate("all"))
|
||||
p:value("tcp", "TCP")
|
||||
|
|
Loading…
Reference in a new issue