summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-06-07 17:13:48 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-06-07 17:13:48 +0200
commitabc1ed6148c27fde4a6d5b13a8faa8598a753218 (patch)
tree3fb87874fc5374773434ed294069eca0aed53688 /applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua
parent0ef7a00afd01f2992dd610ad5d2d071a33ca08d1 (diff)
parent1d477abc54a8abed902332667eb9a7fd9dd793c7 (diff)
Merge pull request #403 from hnyman/fix-qos-l7
luci-app-qos: remove l7 options
Diffstat (limited to 'applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua')
-rw-r--r--applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua19
1 files changed, 0 insertions, 19 deletions
diff --git a/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua b/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua
index 99a884f86..a8ea57e31 100644
--- a/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua
+++ b/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua
@@ -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")