瀏覽代碼

support kcptun port range

FluffyTigerfear 1 年之前
父節點
當前提交
3a77e751ea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua

+ 1 - 1
luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua

@@ -1187,7 +1187,7 @@ if is_finded("kcptun-client") then
 	o:depends("type", "ss")
 
 	o = s:option(Value, "kcp_port", translate("KcpTun Port"))
-	o.datatype = "port"
+	o.datatype = "portrange"
 	o.default = 4000
 	o:depends("type", "ssr")
 	o:depends("type", "ss")