mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Added missing check
This commit is contained in:
parent
e19a557beb
commit
c204be6e3f
1 changed files with 2 additions and 2 deletions
|
|
@ -960,9 +960,9 @@ else
|
|||
" <span id=flow_alerts_trend></span></td></tr>\n")
|
||||
end
|
||||
|
||||
if (host["num_reset_flows"] > 0) then
|
||||
if((host.num_reset_flows ~= nil) and (host.num_reset_flows > 0)) then
|
||||
print("<tr><th>" .. i18n("host_details.attempted_reset_flows") .. "</th><td colspan=2></li>" ..
|
||||
"<span id=num_reset_flows>" .. formatValue(host["num_reset_flows"]) .. "</span>" ..
|
||||
"<span id=num_reset_flows>" .. formatValue(host.num_reset_flows) .. "</span>" ..
|
||||
" <span id=flow_alerts_trend></span></td></tr>\n")
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue