mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Remove VLAN 0.
This commit is contained in:
parent
672539ac9f
commit
bb4bd92eac
2 changed files with 8 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ function vlan2record(ifId, vlan)
|
|||
local record = {}
|
||||
record["key"] = tostring(vlan["vlan_id"])
|
||||
|
||||
local vlan_link = "<A HREF='"..ntop.getHttpPrefix()..'/lua/hosts_stats.lua?vlan='..vlan["vlan_id"].."' title='VLAN "..vlan["vlan_id"].."'>"..getFullVlanName(vlan["vlan_id"])..'</A>'
|
||||
local vlan_link = "<A HREF='"..ntop.getHttpPrefix()..'/lua/hosts_stats.lua?vlan='..vlan["vlan_id"].."' title='VLAN "..vlan["vlan_id"].."'>"..getFullVlanName(vlan["vlan_id"],false,true)..'</A>'
|
||||
record["column_vlan"] = vlan_link
|
||||
|
||||
record["column_score"] = vlan["score"] > 0 and format_utils.formatValue(vlan["score"]) or ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue