mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Added check for preventing lua errors when showing TLS flow pages
This commit is contained in:
parent
d51ab8b578
commit
0a644150d9
1 changed files with 2 additions and 1 deletions
|
|
@ -879,7 +879,8 @@ else
|
|||
end
|
||||
end
|
||||
|
||||
if(ntop.bitmapIsSet(flow["status_map"], flow_consts.status_types.status_tls_certificate_mismatch.status_key)) then
|
||||
if((flow_consts.status_types.status_tls_certificate_mismatch ~= nil)
|
||||
and ntop.bitmapIsSet(flow["status_map"], flow_consts.status_types.status_tls_certificate_mismatch.status_key)) then
|
||||
print("\n<br><i class=\"fas fa-exclamation-triangle fa-lg\" style=\"color: #f0ad4e;\"></i> <b><font color=\"#f0ad4e\">"..i18n("flow_details.certificates_not_match").."</font></b>")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue