summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.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-advanced.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-advanced.lua')
-rw-r--r--applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua
index eee08eb813..f47af6d2f1 100644
--- a/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua
+++ b/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua
@@ -88,7 +88,7 @@ local knownParams = {
{ ListValue, "mtu_disc", { "yes", "maybe", "no" }, translate("Enable Path MTU discovery") },
{ Flag, "mtu_test", 0, translate("Empirically measure MTU") },
- { Flag, "comp_lzo", 0, translate("Use fast LZO compression") },
+ { ListValue, "comp_lzo", { "yes", "no", "adaptive" }, translate("Use fast LZO compression") },
{ Flag, "comp_noadapt", 0, translate("Don't use adaptive lzo compression"), { comp_lzo=1 } },
{ Value, "link_mtu", 1500, translate("Set TCP/UDP MTU") },
{ Value, "tun_mtu", 1500, translate("Set tun/tap device MTU") },