mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix V2Ray UDP disable
This commit is contained in:
parent
218fb8a6e5
commit
d08810bd89
1 changed files with 3 additions and 1 deletions
|
@ -1158,8 +1158,10 @@ function settings_add()
|
|||
ucic:set("openmptcprouter","settings","shadowsocksudp",shadowsocksudp)
|
||||
|
||||
-- Enable/disable v2ray udp
|
||||
local v2rayudp = luci.http.formvalue("v2rayudp") or "1"
|
||||
local v2rayudp = luci.http.formvalue("v2rayudp") or "0"
|
||||
ucic:set("v2ray","main_transparent_proxy","redirect_udp",v2rayudp)
|
||||
ucic:save("v2ray")
|
||||
ucic:commit("v2ray")
|
||||
|
||||
-- Enable/disable nDPI
|
||||
local ndpi = luci.http.formvalue("ndpi") or "1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue