mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
fix a wrong function name, noted by Matthew Boyle
This commit is contained in:
parent
d0dddaf216
commit
5f75bb7dd2
1 changed files with 2 additions and 2 deletions
|
|
@ -3112,7 +3112,7 @@ socket = nmap.new_socket()
|
|||
catch = function()
|
||||
socket:close()
|
||||
end
|
||||
try = nmap.newtry(catch)
|
||||
try = nmap.new_try(catch)
|
||||
|
||||
try(socket:connect(host.ip, port.number))
|
||||
result = try(socket:receive_lines(1));
|
||||
|
|
@ -3364,7 +3364,7 @@ local catch = function()
|
|||
client_service:close()
|
||||
end
|
||||
|
||||
local try = nmap.newtry(catch)
|
||||
local try = nmap.new_try(catch)
|
||||
|
||||
try(client_ident:connect(host.ip, 113))
|
||||
try(client_service:connect(host.ip, port.number))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue