mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes missing require
This commit is contained in:
parent
10e1d1b388
commit
a905d83640
1 changed files with 1 additions and 0 deletions
|
|
@ -963,6 +963,7 @@ function driver:timeseries_top(options, top_tags)
|
|||
|
||||
for top_item, value in pairsByValues(available_items, rev) do
|
||||
if value > 0 then
|
||||
package.path = dirs.installdir .. "/pro/scripts/lua/modules/?.lua;" .. package.path
|
||||
local snmp_utils = require "snmp_utils"
|
||||
local snmp_cached_dev = require "snmp_cached_dev"
|
||||
local cached_device = snmp_cached_dev:create(options.tags.device)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue