mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Requires snmp_utils as local module
This commit is contained in:
parent
a3d7365888
commit
8a3e65ac50
25 changed files with 27 additions and 27 deletions
|
|
@ -17,7 +17,7 @@ local json = require("dkjson")
|
|||
if ntop.isPro() then
|
||||
package.path = dirs.installdir .. "/scripts/lua/pro/modules/?.lua;" .. package.path
|
||||
shaper_utils = require("shaper_utils")
|
||||
require "snmp_utils"
|
||||
local snmp_utils = require "snmp_utils"
|
||||
end
|
||||
|
||||
local json = require ("dkjson")
|
||||
|
|
@ -1453,7 +1453,7 @@ end
|
|||
local function printFlowDevicesFilterDropdown(base_url, page_params)
|
||||
if (ntop.isPro()) then
|
||||
package.path = dirs.installdir .. "/pro/scripts/lua/modules/?.lua;" .. package.path
|
||||
require "snmp_utils"
|
||||
local snmp_utils = require "snmp_utils"
|
||||
end
|
||||
|
||||
local flowdevs = interface.getFlowDevices()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue