From 0205587e6d5350d1fea8d82d5f379f716b8ddf78 Mon Sep 17 00:00:00 2001 From: xiaorouji <60100640+xiaorouji@users.noreply.github.com> Date: Fri, 22 Apr 2022 22:06:40 +0800 Subject: [PATCH] luci: fixup --- luci-app-passwall/luasrc/model/cbi/passwall/client/other.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/client/other.lua b/luci-app-passwall/luasrc/model/cbi/passwall/client/other.lua index 6c1bc47d9..660d17478 100644 --- a/luci-app-passwall/luasrc/model/cbi/passwall/client/other.lua +++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/other.lua @@ -152,6 +152,10 @@ if has_v2ray or has_xray then end end o:depends({sniffing = true, route_only = false}) + + o = s:option(Value, "buffer_size", translate("Buffer Size (Xray)"), translate("Buffer size for every connection (kB)")) + o.rmempty = true + o.datatype = "uinteger" end end return m