Migrate host_pools_nedge code to use host_pools

This commit is contained in:
Alfredo Cardigliano 2023-05-12 12:58:59 +02:00
parent ffc5a0b3a1
commit 3455b7eb20
2 changed files with 55 additions and 5 deletions

View file

@ -781,6 +781,9 @@ end
-- ##############################################
function splitNetworkPrefix(net)
if not net then
tprint(debug.traceback())
end
local prefix = tonumber(net:match("/(.+)"))
local address = net:gsub("/.+","")
return address, prefix