mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
fix for system view
This commit is contained in:
parent
ffea9b2165
commit
26ba1c4df2
10 changed files with 45 additions and 18 deletions
|
|
@ -8,7 +8,7 @@ package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|||
require "lua_utils"
|
||||
|
||||
local page_utils = require("page_utils")
|
||||
local is_system_interface = ((ntop.getPref("ntopng.prefs.system_mode_enabled") == "1") and ntop.isAdministrator())
|
||||
local is_system_interface = isSystemView()
|
||||
|
||||
interface.select(ifname)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue