Changeset

5029:7bcd79631492

mod_admin_telnet: Fix usage of incorrect variable
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Jul 2012 01:25:01 +0100
parents 5028:10a69a7e4545
children 5030:9962fc19f9e9
files plugins/mod_admin_telnet.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Sat Jul 28 01:24:48 2012 +0100
+++ b/plugins/mod_admin_telnet.lua	Sat Jul 28 01:25:01 2012 +0100
@@ -875,7 +875,7 @@
 					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