mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
It is unnecessary to prefer targetname over the ip in the request()
function since host is only passed to socket:connect() which would have to resolve the targetname back to the ip.
This commit is contained in:
parent
d8e40a3546
commit
83ec6aa665
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ request = function( host, port, data, options )
|
|||
options = options or {}
|
||||
|
||||
if type(host) == 'table' then
|
||||
host = host.targetname or host.ip
|
||||
host = host.ip
|
||||
end
|
||||
|
||||
local protocol = 'tcp'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue