mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Fixes host alerts not have vlans id (#5629)
This commit is contained in:
parent
86a7892757
commit
aee4e299e4
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ function host_alert_store:format_record(value, no_html)
|
|||
|
||||
-- Checking that the name of the host is not empty
|
||||
if value["name"] and (not isEmptyString(value["name"])) then
|
||||
record[RNAME.IP.name]["label"] = value["name"]
|
||||
record[RNAME.IP.name]["label"] = hostVisualization(value["name"], value["name"], value["vlan_id"])
|
||||
end
|
||||
|
||||
record[RNAME.IP.name]["shown_label"] = record[RNAME.IP.name]["label"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue