From 21ebb8ab1d01247807dafe0d8b4f5851a29ccce5 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 28 Jul 2012 01:25:01 +0100 Subject: mod_admin_telnet: Fix usage of incorrect variable --- plugins/mod_admin_telnet.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 48e12e90..901aad7a 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -875,7 +875,7 @@ function def_env.port:close(close_port, close_interface) self.session.print("Closing ["..interface.."]:"..close_port.."..."); local ok, err = portmanager.close(interface, close_port) if not ok then - self.session.print("Failed to close "..interface.." "..port..": "..err); + self.session.print("Failed to close "..interface.." "..close_port..": "..err); else n_closed = n_closed + 1; end -- cgit v1.2.3