aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_admin_shell.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index 3650e7f6..5b4c2a61 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -544,7 +544,11 @@ local function session_flags(session, line)
line[#line+1] = "(sm)";
end
if session.state then
- line[#line+1] = string.format("(csi:%s)", session.state);
+ if type(session.csi_counter) == "number" then
+ line[#line+1] = string.format("(csi:%s queue #%d)", session.state, session.csi_counter);
+ else
+ line[#line+1] = string.format("(csi:%s)", session.state);
+ end
end
if session.ip and session.ip:match(":") then
line[#line+1] = "(IPv6)";