From ab234df3df03422e66dd1b89de3cb49271fcfe99 Mon Sep 17 00:00:00 2001
From: Martin Schiller <ms@dev.tdt.de>
Date: Thu, 13 Dec 2018 08:08:24 +0100
Subject: 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>
---
 applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua')

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",
-- 
cgit v1.2.3