mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-19 07:43:01 +00:00
Hiding traffic report when analysing pcap dump
This commit is contained in:
parent
26f2e264c4
commit
374eebdccf
1 changed files with 3 additions and 1 deletions
|
|
@ -55,6 +55,8 @@ local ifstats = interface.getStats()
|
|||
|
||||
ifId = ifstats.id
|
||||
|
||||
local is_pcap_dump = interface.isPcapDumpInterface()
|
||||
|
||||
local host = nil
|
||||
local family = nil
|
||||
|
||||
|
|
@ -417,7 +419,7 @@ if((page == "historical") or ts_utils.exists("host:traffic", {ifid=ifId, host=ts
|
|||
end
|
||||
end
|
||||
|
||||
if not only_historical then
|
||||
if not only_historical and not is_pcap_dump then
|
||||
if host["localhost"] and ts_utils.getDriverName() == "rrd" then
|
||||
if ntop.isEnterprise() or ntop.isnEdge() then
|
||||
if(page == "traffic_report") then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue