mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Merge branch 'test' into develop
This commit is contained in:
commit
b416d1af7a
9 changed files with 56 additions and 24 deletions
|
@ -1013,6 +1013,10 @@ function settings_add()
|
|||
local disableloopdetection = luci.http.formvalue("disableloopdetection") or "0"
|
||||
ucic:set("openmptcprouter","settings","disableloopdetection",disableloopdetection)
|
||||
|
||||
-- Enable/disable http test
|
||||
local disableserverhttptest = luci.http.formvalue("disableserverhttptest") or "0"
|
||||
ucic:set("openmptcprouter","settings","disableserverhttptest",disableserverhttptest)
|
||||
|
||||
-- Enable/disable renaming intf
|
||||
local disableintfrename = luci.http.formvalue("disableintfrename") or "0"
|
||||
ucic:set("openmptcprouter","settings","disableintfrename",disableintfrename)
|
||||
|
@ -1037,6 +1041,10 @@ function settings_add()
|
|||
local shadowsocksudp = luci.http.formvalue("shadowsocksudp") or "0"
|
||||
ucic:set("openmptcprouter","settings","shadowsocksudp",shadowsocksudp)
|
||||
|
||||
-- Enable/disable nDPI
|
||||
local ndpi = luci.http.formvalue("ndpi") or "1"
|
||||
ucic:set("openmptcprouter","settings","ndpi",ndpi)
|
||||
|
||||
-- Enable/disable fast open
|
||||
local disablefastopen = luci.http.formvalue("disablefastopen") or "0"
|
||||
if disablefastopen == "0" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue