From f88025985263d936ba614df76b78ea83494f768c Mon Sep 17 00:00:00 2001 From: AmberisMyShiba <20527882+AmberisMyShiba@users.noreply.github.com> Date: Mon, 9 Oct 2023 11:07:15 +0800 Subject: [PATCH] fix minor bugs in client-config --- .../luasrc/model/cbi/shadowsocksr/client-config.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua index dc4abf0ed14..f9d5a61b27e 100644 --- a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua +++ b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua @@ -220,7 +220,7 @@ o:depends("type", "ss_rust") o:depends("type", "v2ray") o:depends("type", "trojan") o:depends("type", "naiveproxy") -o:depends({type = "hysteria",port_hopping = 0}) +o:depends({type = "hysteria",port_hopping = "0"}) o:depends("type", "tuic") o:depends("type", "shadowtls") o:depends("type", "socks5") @@ -340,13 +340,13 @@ o.rmempty = true o.default = "0" o = s:option(Value, "hopinterval", translate("Port Hopping Interval(Unit:Second)")) -o:depends({type = "hysteria", port_hopping = 1}) +o:depends({type = "hysteria", port_hopping = "1"}) o.datatype = "uinteger" o.rmempty = true o.default = "30" o = s:option(Value, "port_range", translate("Port Range")) -o:depends({type = "hysteria", port_hopping = 1}) +o:depends({type = "hysteria", port_hopping = "1"}) o.rmempty = false o = s:option(Flag, "lazy_mode", translate("Enable Lazy Mode"))