mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Changed if from Pro to Enterprise (Issue #5611)
This commit is contained in:
parent
d607c1a38e
commit
81f1c64eef
1 changed files with 7 additions and 4 deletions
|
|
@ -983,14 +983,17 @@ interface.select(ifs.id.."")
|
|||
|
||||
local infrastructures = {}
|
||||
|
||||
if ntop.isPro() then
|
||||
if ntop.isEnterpriseM() then
|
||||
local infrastructure_utils = require("infrastructure_utils")
|
||||
|
||||
for _, v in pairs(infrastructure_utils.get_all_instances()) do
|
||||
infrastructures[v.alias] = v.url
|
||||
if ntop.isPro() then
|
||||
for _, v in pairs(infrastructure_utils.get_all_instances()) do
|
||||
infrastructures[v.alias] = v.url
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
local context = {
|
||||
ifnames = ifnames,
|
||||
infrastructures = infrastructures,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue