mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Migrate host_pools_nedge code to use host_pools
This commit is contained in:
parent
ffc5a0b3a1
commit
3455b7eb20
2 changed files with 55 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue