diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_shell.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 555f6715..75e36e0e 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -726,14 +726,14 @@ local available_columns = { secure = { title = "Security"; key = "conn"; - width = 11; + width = 8; mapper = function(conn, session) if not session.secure then return "insecure"; end if not conn or not conn:ssl() then return "secure" end local sock = conn and conn:socket(); - if not sock then return "unknown TLS"; end + if not sock then return "secure"; end local tls_info = sock.info and sock:info(); - return tls_info and tls_info.protocol or "unknown TLS"; + return tls_info and tls_info.protocol or "secure"; end; }; encryption = { |