summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https-dns-proxy/luasrc/model
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2021-01-13 12:01:33 +0000
committerStan Grishin <stangri@melmac.net>2021-01-13 12:01:33 +0000
commitc0b1e5132897e1c52a62597124e0eae69b7df82e (patch)
tree825933659797ecbd015b3fd0510dea336d998f1b /applications/luci-app-https-dns-proxy/luasrc/model
parent60c27aa0f7e1ee0536aa156a56b211e6817d2c77 (diff)
luci-app-https-dns-proxy: DSCP tagging support
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-https-dns-proxy/luasrc/model')
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
index 8842909c8c..ea4b0d8af0 100644
--- a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
+++ b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
@@ -186,6 +186,10 @@ lp = s3:option(Value, "listen_port", translate("Listen port"))
lp.datatype = "port"
lp.value = n + 5053
+dscp = s3:option(Value, "dscp_codepoint", translate("DSCP Codepoint"))
+dscp.datatype = "range(0,63)"
+dscp.rmempty = true
+
ps = s3:option(Value, "proxy_server", translate("Proxy server"))
ps.rmempty = true