summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-tinyproxy/luasrc/model
diff options
context:
space:
mode:
author瑞 <rui.crater@gmail.com>2023-12-05 11:23:32 +0800
committerGitHub <noreply@github.com>2023-12-05 04:23:32 +0100
commitfd2d2ac734429a81c9289e33635f28367a97fafe (patch)
tree84dba65833cab9bfb39f69211466fa7221e7231d /applications/luci-app-tinyproxy/luasrc/model
parent5b26887c52097dc9364c9b4f4dfb2d6ba2f08818 (diff)
luci-app-tinyproxy: support socks5 upstream (#6303)
Signed-off-by: Zhang Rui <rui.crater@gmail.com>
Diffstat (limited to 'applications/luci-app-tinyproxy/luasrc/model')
-rw-r--r--applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua b/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua
index 527d86c9d5..686a46378d 100644
--- a/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua
+++ b/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua
@@ -231,10 +231,9 @@ ta.datatype = "host(1)"
v = s:option(Value, "via", translate("Via proxy"),
- translate("Specifies the upstream proxy to use for accessing the target host. Format is <code>address:port</code>"))
+ translate("Specifies the upstream proxy to use for accessing the target host. Format is <code>address:port</code> or <code>socks5 address:port</code>"))
v:depends({type="proxy"})
v.placeholder = "10.0.0.1:8080"
-v.datatype = "ip4addrport"
return m