From 70a68367ca4f1c0f67a289d6bf759a2e291b2408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Fri, 27 May 2022 19:57:47 +0200 Subject: [PATCH] gluon-web-mesh-vpn-openvpn: fix displaying key size --- .../lib/gluon/config-mode/model/admin/mesh_vpn_openvpn.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-web-mesh-vpn-openvpn/luasrc/lib/gluon/config-mode/model/admin/mesh_vpn_openvpn.lua b/package/gluon-web-mesh-vpn-openvpn/luasrc/lib/gluon/config-mode/model/admin/mesh_vpn_openvpn.lua index 03bb772d..b6f4e38d 100644 --- a/package/gluon-web-mesh-vpn-openvpn/luasrc/lib/gluon/config-mode/model/admin/mesh_vpn_openvpn.lua +++ b/package/gluon-web-mesh-vpn-openvpn/luasrc/lib/gluon/config-mode/model/admin/mesh_vpn_openvpn.lua @@ -174,7 +174,7 @@ local function try_key(file, input) return { type = 'key', - display = translate_format('Key %s, %s bits', info.type, info.size), + display = translate_format('Key %s, %s bits', info.type, info.size * 8), info = info, } end