summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-10-11 12:07:35 +0200
committerJo-Philipp Wich <jow@openwrt.org>2014-10-11 12:07:35 +0200
commit52326c28efacd6b6eadaf7bab72b8ec633192a00 (patch)
treea9e4f6d6530d5c8d810bd9c07652e9413040a619 /applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
parent7ee4e9c78acccd7bdb6ec33a464bc67459068641 (diff)
parent90c0e4dad4a4d02ea7207a3ac9c5d76001ab069d (diff)
Merge pull request #220 from Wedmer/openvpnfix_dtfix_watchcatfix
applications/luci-openvpn: fixes for current openWRT openvpn packages.
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") },