summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
diff options
context:
space:
mode:
authorVladimir Ulrich <admin@evl.su>2014-07-14 06:03:32 +0400
committerVladimir Ulrich <admin@evl.su>2014-10-10 19:59:35 +0400
commit01541f8c7f0e9b2fdbc42f47b788b3038c29d937 (patch)
tree10b2942463dc34fe57a53286cb864369b8efed54 /applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
parentbb388f0873b5f9b88c45af5c7d35e9eb9f4ac8ac (diff)
Updated openvpn app to work with current openvpn package
Signed-off-by: Vladimir Ulrich <admin@evl.su>
Diffstat (limited to 'applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua')
-rw-r--r--applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua b/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
index dc1114b6e..92f7cb569 100644
--- a/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
+++ b/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
@@ -32,7 +32,7 @@ local basicParams = {
{ Value,"server_bridge","192.168.1.1 255.255.255.0 192.168.1.128 192.168.1.254", translate("Configure server bridge") },
{ Flag,"nobind",0, translate("Do not bind to local address and port") },
- { Flag,"comp_lzo",0, translate("Use fast LZO compression") },
+ { ListValue,"comp_lzo",{"yes","no","adaptive"}, translate("Use fast LZO compression") },
{ Value,"keepalive","10 60", translate("Helper directive to simplify the expression of --ping and --ping-restart in server mode configurations") },
{ ListValue,"proto",{ "udp", "tcp" }, translate("Use protocol") },