diff options
author | Ivan Romanov <drizt72@zoho.eu> | 2024-08-31 13:44:12 +0500 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-09-06 01:32:04 +0200 |
commit | e36e9495e0c0c6df53451b4730c10583e748cb98 (patch) | |
tree | 5431451857df14ac2b5cc7e976f35509c4e07dac /applications/luci-app-privoxy/luasrc/model | |
parent | 38be2663ea2d0d553e3d27939c1df30a5c2095cb (diff) |
luci-app-privoxy: fix description for socks5
Privoxy supports login password for socks5 proxy forwarding. It allows
use proxy in format [user:pass@]socks_proxy[:port] http_parent[:port]
as noted in the official documentations.
Signed-off-by: Ivan Romanov <drizt72@zoho.eu>
Diffstat (limited to 'applications/luci-app-privoxy/luasrc/model')
-rw-r--r-- | applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua b/applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua index 722af19e21..ba4d6e9a68 100644 --- a/applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua +++ b/applications/luci-app-privoxy/luasrc/model/cbi/privoxy.lua @@ -617,7 +617,8 @@ local fs4 = ns:taboption("forward", DynamicList, "forward_socks4") fs4.title = string.format(HELP, "SOCKS", "Forward SOCKS 4" ) fs4.description = translate("Through which SOCKS proxy (and optionally to which parent HTTP proxy) specific requests should be routed.") .. [[<br />]] - .. translate("Syntax: target_pattern socks_proxy[:port] http_parent[:port]") + .. translate("Syntax:") + .. " target_pattern socks_proxy[:port] http_parent[:port]" fs4.rmempty = true -- forward-socks4a ------------------------------------------------------------- @@ -629,13 +630,16 @@ f4a.rmempty = true -- forward-socks5 -------------------------------------------------------------- local fs5 = ns:taboption("forward", DynamicList, "forward_socks5") fs5.title = string.format(HELP, "SOCKS", "Forward SOCKS 5" ) -fs5.description = fs4.description +fs5.description = translate("Through which SOCKS proxy (and optionally to which parent HTTP proxy) specific requests should be routed.") + .. [[<br />]] + .. translate("Syntax:") + .. " target_pattern [user:pass@]socks_proxy[:port] http_parent[:port]" fs5.rmempty = true -- forward-socks5t ------------------------------------------------------------- local f5t = ns:taboption("forward", DynamicList, "forward_socks5t") f5t.title = string.format(HELP, "SOCKS", "Forward SOCKS 5t" ) -f5t.description = fs4.description +f5t.description = fs5.description f5t.rmempty = true -- tab: misc -- ################################################################ |