From ad798d75d804d76c0651d25739655f5651c30f95 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 22 Nov 2015 15:31:22 +0000 Subject: mod_admin_telnet: c2s:show(): Add flag to indicate remote sessions --- plugins/mod_admin_telnet.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/mod_admin_telnet.lua') diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 6a5f87d4..16bc786d 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -512,6 +512,9 @@ local function session_flags(session, line) if session.ip and session.ip:match(":") then line[#line+1] = "(IPv6)"; end + if session.remote then + line[#line+1] = "(remote)"; + end return table.concat(line, " "); end -- cgit v1.2.3