summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2018-12-13 08:08:24 +0100
committerMartin Schiller <ms@dev.tdt.de>2018-12-13 08:08:24 +0100
commitab234df3df03422e66dd1b89de3cb49271fcfe99 (patch)
treec442bee789c2577ca94d106398e51e2fcf351997 /applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
parentaa954d1c69c1f6b8046fbec82876f1e2c544185d (diff)
luci-app-openvpn: re-add options comp_lzo and comp_noadapt
* re-add config option comp_lzo according to openwrt/openwrt@3850b41 * re-add config option comp_noadapt. This has never been removed from openwrt Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua')
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
index 3e9137baeb..132c4d8f99 100644
--- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
+++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
@@ -39,6 +39,10 @@ local basicParams = {
"nobind",
0,
translate("Do not bind to local address and port") },
+ { ListValue,
+ "comp_lzo",
+ {"yes","no","adaptive"},
+ translate("Use fast LZO compression") },
{ Value,
"keepalive",
"10 60",