mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixed missing user agent info in historical flow details (#8783)
This commit is contained in:
parent
71b55a49c0
commit
644ef1ed44
1 changed files with 8 additions and 0 deletions
|
|
@ -1237,6 +1237,14 @@ function format_http_info(http_info, no_html)
|
|||
end
|
||||
end
|
||||
|
||||
if http_info["last_user_agent"] then
|
||||
if no_html then
|
||||
http_info["last_user_agent"] = http_info["last_user_agent"]
|
||||
else
|
||||
http_info["last_user_agent"] = string.format('<span">%s</span>', http_info["last_user_agent"])
|
||||
end
|
||||
end
|
||||
|
||||
return http_info
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue