mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Removed circular dependency on network_utils
This commit is contained in:
parent
2fe9cb0a20
commit
ddadaf3e77
9 changed files with 37 additions and 46 deletions
|
|
@ -7,7 +7,6 @@ package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|||
|
||||
require "template"
|
||||
require "lua_utils"
|
||||
local network_utils = require "network_utils"
|
||||
|
||||
local db_debug = false
|
||||
|
||||
|
|
@ -26,7 +25,7 @@ end
|
|||
-- ########################################################
|
||||
|
||||
function expandIpV4Network(net)
|
||||
local address, prefix = network_utils.splitNetworkPrefix(net)
|
||||
local address, prefix = splitNetworkPrefix(net)
|
||||
|
||||
if(prefix == nil or prefix > 32 or prefix < 0) then prefix = 32 end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue