mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 22:27:38 +03:00
mod_admin_shell: Add port as a c2s/s2s:show column definition
Allows inferring whether Direct TLS was used, or perhaps which SRV record was chosen. Not shown by default.
This commit is contained in:
parent
f7527cc4f1
commit
1ffb6f0b3d
1 changed files with 7 additions and 0 deletions
|
@ -690,6 +690,13 @@ local available_columns = {
|
|||
return select(2, get_s2s_hosts(session));
|
||||
end;
|
||||
};
|
||||
port = {
|
||||
title = "Port";
|
||||
width = 5;
|
||||
align = "right";
|
||||
key = "conn";
|
||||
mapper = function(conn) return conn:serverport(); end;
|
||||
};
|
||||
dir = {
|
||||
title = "Dir";
|
||||
width = 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue