luci-app-openvpn: add missing compress option
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 26 Nov 2018 12:08:02 +0000 (13:08 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 27 Nov 2018 09:05:28 +0000 (10:05 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua

index 86f743999ead42240381249e4ecb9c0202307c3e..e9b4aceffe4ba69a3ac6c6e9287d9b9056115bc9 100644 (file)
@@ -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", {