Fixed visual bugs

This commit is contained in:
MatteoBiscosi 2022-03-24 18:03:03 +01:00
parent d4298b34b1
commit eeaab5c918
3 changed files with 10 additions and 6 deletions

View file

@ -5110,7 +5110,11 @@ function format_tls_info(tls_info)
end
if tls_info.tls_version then
tls_info["tls_version"] = ntop.getTLSVersionName(tls_info.tls_version)
if tls_info.tls_version > 0 then
tls_info["tls_version"] = ntop.getTLSVersionName(tls_info.tls_version)
else
tls_info["tls_version"] = nil
end
end
if tls_info.client_requested_server_name then