mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-22 10:45:57 +00:00
Fixes flow partials for database dumps
This commit is contained in:
parent
e3aefdb603
commit
92bf42fa0d
3 changed files with 73 additions and 62 deletions
|
|
@ -236,7 +236,7 @@ static bool viewed_flows_walker(GenericHashEntry *flow, void *user_data, bool *m
|
|||
bool first_partial; /* Whether this is the first time the view is visiting this flow */
|
||||
const IpAddress *cli_ip = f->get_cli_ip_addr(), *srv_ip = f->get_srv_ip_addr();
|
||||
|
||||
if(f->get_partial_traffic_stats(&partials, &first_partial)) {
|
||||
if(f->get_partial_traffic_stats_view(&partials, &first_partial)) {
|
||||
if(!cli_ip || !srv_ip)
|
||||
ntop->getTrace()->traceEvent(TRACE_ERROR, "Unable to get flow hosts. Out of memory? Expect issues.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue