mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes web interface DNS protocol visualization issues
This commit is contained in:
parent
79f778ab59
commit
e33ed413d2
2 changed files with 9 additions and 9 deletions
|
|
@ -135,7 +135,7 @@ for key, value in ipairs(flows_stats) do
|
|||
if((flows_stats[key]["cli.host"] ~= vhost)
|
||||
and (flows_stats[key]["srv.host"] ~= vhost)
|
||||
and (flows_stats[key]["http.server_name"] ~= vhost)
|
||||
and (flows_stats[key]["dns.last_query"] ~= vhost)) then
|
||||
and (flows_stats[key]["protos.dns.last_query"] ~= vhost)) then
|
||||
process = false
|
||||
end
|
||||
end
|
||||
|
|
@ -267,8 +267,8 @@ for key, value in ipairs(flows_stats) do
|
|||
if(debug and (not process)) then io.write("Stop Host\n") end
|
||||
|
||||
info = ""
|
||||
if(flows_stats[key]["dns.last_query"] ~= nil) then
|
||||
info = shortenString(flows_stats[key]["dns.last_query"])
|
||||
if(flows_stats[key]["protos.dns.last_query"] ~= nil) then
|
||||
info = shortenString(flows_stats[key]["protos.dns.last_query"])
|
||||
elseif(flows_stats[key]["http.last_url"] ~= nil) then
|
||||
info = shortenString(flows_stats[key]["http.last_url"])
|
||||
elseif(flows_stats[key]["protos.ssl.certificate"] ~= nil) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue