From 4fd92b1f5261343039feb2e7475bc67dceb0ca06 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 26 Nov 2018 13:08:02 +0100 Subject: [PATCH] luci-app-openvpn: add missing compress option Signed-off-by: Florian Eckert --- .../luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua index 86f743999e..e9b4aceffe 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -158,6 +158,10 @@ local knownParams = { "script_security", { 0, 1, 2, 3 }, translate("Policy level over usage of external programs and scripts") }, + { ListValue, + "compress", + { "lzo", "lz4" }, + translate("Enable a compression algorithm") }, } }, { "Networking", { -- 2.30.2