mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
fixed wrong (global) variable name
This commit is contained in:
parent
79a663d469
commit
2511cd1d2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue