This commit is contained in:
Nicolo Maio 2023-08-02 13:46:43 +00:00
parent cef5d72b8d
commit ec5d112ab5
4 changed files with 62 additions and 3 deletions

View file

@ -386,4 +386,21 @@ end
-- **********************************************************
function vs_utils.get_active_hosts(host, cidr)
local result = {}
for i in range(1, 2 --[[ instead of cidr just for example --]], 1) do
-- FIX ME
host = host:sub(1, -2)
host = host .. i
result[#result+1] = host
end
return result
end
-- **********************************************************
return vs_utils