1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 13:49:03 +00:00

Document the status return value for nmap.resolve(). Patrik noticed the

omission.
This commit is contained in:
kris
2010-11-19 21:38:47 +00:00
parent 68643a2946
commit 1317675fb3

View File

@@ -47,8 +47,10 @@ function is_privileged()
-- @param family Address family string (such as "inet") to specify the type
-- of addresses returned
-- @see address_family
-- @return Table containing addresses resolved from the host name
-- @usage local t = nmap.resolve("www.kame.net", nmap.address_family())
-- @return Status (true or false)
-- @return Table containing addresses resolved from the host name if status
-- is true, or an error string if status is false
-- @usage local status, t = nmap.resolve("www.kame.net", nmap.address_family())
function resolve(host, family)
--- Returns the address family Nmap is using.