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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user