mirror of
https://github.com/nmap/nmap.git
synced 2025-12-30 11:29:01 +00:00
Move string utility functions to stringaux.lua
This commit is contained in:
@@ -170,7 +170,7 @@ local function format_ipv4(ipv4)
|
||||
octets[#octets + 1] = string.format("%d", v)
|
||||
end
|
||||
|
||||
return stdnse.strjoin(".", octets)
|
||||
return table.concat(octets, ".")
|
||||
end
|
||||
|
||||
local function do_ipv4(addr)
|
||||
|
||||
Reference in New Issue
Block a user