mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Rework host label getters
This fixes inconsistencies across the ntopng gui Addresses #3699
This commit is contained in:
parent
ebbe0155e3
commit
ba5c64b107
28 changed files with 136 additions and 139 deletions
|
|
@ -520,7 +520,7 @@ function alerts_api.remoteToRemoteType(host_info, mac)
|
|||
alert_type = alert_consts.alert_types.alert_remote_to_remote,
|
||||
alert_severity = alert_consts.alert_severities.warning,
|
||||
alert_type_params = {
|
||||
host = host2name(host_info["host"], host_info["vlan"]),
|
||||
host = hostinfo2label(host_info),
|
||||
mac = mac,
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue