git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
28e3b32
)
luci-app-ocserv: match default value of compression
author
Raymond Tau
<redacted>
Mon, 12 Mar 2018 18:15:22 +0000
(
02:15
+0800)
committer
Raymond Tau
<redacted>
Mon, 12 Mar 2018 18:15:22 +0000
(
02:15
+0800)
Modify the default setting of compression to match the default
value of the package ocserv.
Signed-off-by: Raymond Tau <redacted>
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua
patch
|
blob
|
history
diff --git
a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua
b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua
index 74edaf4894b92ee7241409aa9874319359ebdf44..396dedd4a3a92a25accb53a8a6776883c1e645f2 100644
(file)
--- a/
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua
+++ b/
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua
@@
-86,7
+86,7
@@
pip.default = "1"
local compr = s:taboption("general", Flag, "compression", translate("Enable compression"),
translate("Enable compression"))
-compr.default = "
1
"
+compr.default = "
0
"
local udp = s:taboption("general", Flag, "udp", translate("Enable UDP"),
translate("Enable UDP channel support; this must be enabled unless you know what you are doing"))
git clone https://git.99rst.org/PROJECT