mirror of
https://github.com/nmap/nmap.git
synced 2025-12-23 16:09:02 +00:00
Move string utility functions to stringaux.lua
This commit is contained in:
@@ -4,6 +4,7 @@ local nmap = require "nmap"
|
||||
local packet = require "packet"
|
||||
local stdnse = require "stdnse"
|
||||
local string = require "string"
|
||||
local table = require "table"
|
||||
local rand = require "rand"
|
||||
|
||||
description = [[
|
||||
@@ -153,7 +154,7 @@ end
|
||||
|
||||
local commasep = {
|
||||
__tostring = function (t)
|
||||
return stdnse.strjoin(", ", t)
|
||||
return table.concat(t, ", ")
|
||||
end
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user