1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 09:29:01 +00:00

fixed wrong (global) variable name

This commit is contained in:
batrick
2011-09-16 18:33:52 +00:00
parent 79a663d469
commit 2511cd1d2a

View File

@@ -1155,7 +1155,7 @@ Torrent =
local hello_connection_id = "00 00 04 17 27 10 19 80" -- identification of the protocol
local hello_packet = bin.pack("HHA", hello_connection_id, hello_action, hello_transaction_id)
local status, msg = socket:sendto(host, port, hello_packet)
if not status then return false, err end
if not status then return false, msg end
status, msg = socket:receive()
if not status then return false, "Could not connect to tracker:"..tracker.." reason:"..msg end