luci-app-openvpn: add missing ncp_ciphers option 2336/head
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 26 Nov 2018 14:43:08 +0000 (15:43 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 27 Nov 2018 09:09:57 +0000 (10:09 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua

index 9c032d5ab1825fd3e61113b4ed757ada6e1d6efd..25d1481f8ad5664594432e97572a9295fb01d386 100644 (file)
@@ -751,6 +751,10 @@ local knownParams = {
                        "ncp_disable",
                        0,
                        translate("This completely disables cipher negotiation") },
+               { Value,
+                       "ncp_ciphers",
+                       "AES-256-GCM:AES-128-GCM",
+                       translate("Restrict the allowed ciphers to be negotiated") },
        } }
 }