From: Florian Eckert Date: Mon, 26 Nov 2018 12:08:02 +0000 (+0100) Subject: luci-app-openvpn: add missing compress option X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4fd92b1f5261343039feb2e7475bc67dceb0ca06;p=oweals%2Fluci.git luci-app-openvpn: add missing compress option Signed-off-by: Florian Eckert --- 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 86f743999..e9b4aceff 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", {