mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
parent
39b7cff95a
commit
b26eb71316
7 changed files with 41 additions and 16 deletions
|
|
@ -32,7 +32,8 @@ end
|
|||
|
||||
prefs = ntop.getPrefs()
|
||||
|
||||
ifstats = interface.getStats()
|
||||
local ifstats = interface.getStats()
|
||||
local show_vlan = (ifstats.vlan and ntop.getPref("ntopng.prefs.dynamic_flow_collection_mode") ~= "vlan" and flow["vlan"] ~= 0)
|
||||
|
||||
print [[
|
||||
<hr>
|
||||
|
|
@ -198,6 +199,7 @@ print [[
|
|||
title: "]] print(i18n("vlan")) print [[",
|
||||
field: "column_vlan",
|
||||
sortable: true,
|
||||
hidden: ]] print(tostring(not show_vlan)) print[[,
|
||||
css: {
|
||||
textAlign: 'center'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue