Fixes host alert link in presence of VLANs

This commit is contained in:
Simone Mainardi 2021-04-27 14:25:57 +02:00
parent 3f61918ab4
commit 281dd3a8b4
2 changed files with 2 additions and 2 deletions

View file

@ -1782,7 +1782,7 @@ function hostinfo2detailsurl(host_info, href_params, href_check)
-- Alerts page for the host is under the Alerts menu
res = string.format("%s/lua/alert_stats.lua?page=host&status=engaged&ip=%s",
ntop.getHttpPrefix(),
host_info["ip"])
hostinfo2hostkey(host_info))
else
res = string.format("%s/lua/host_details.lua?%s%s%s",