Fixes refresh for VLAN-tagged hosts in hosts_stats.lua

This commit is contained in:
Simone Mainardi 2016-06-04 16:37:01 +02:00
parent d00c3081ec
commit 4aebe42ab7
2 changed files with 5 additions and 6 deletions

View file

@ -1372,7 +1372,7 @@ function hostinfo2jqueryid(host_info,host_type)
if((host_info["vlan"] ~= nil) and (host_info["vlan"] ~= 0)) then
rsp = rsp..'_'..tostring(host_info["vlan"])
rsp = rsp..'@'..tostring(host_info["vlan"])
end
rsp = string.gsub(rsp, "%.", "__")