diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-11-18 13:01:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 13:01:53 +0100 |
commit | d7d942586aaee89968f458e95acafe260dbdda7c (patch) | |
tree | 64e6498ebf4726861e2c9cb60aa7615033b41565 | |
parent | f2ef6e1d18995d609719d93fb6d39a3f7821ad80 (diff) |
ndpiReader: fix statistic about total number of flows (#2622)
When capturing live traffic, accounting and export of expired flows is
wrong (see #2617).
Let's try to fix some statistics, at least
-rw-r--r-- | example/ndpiReader.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 8ae077eb4..f746dfe3d 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -2828,7 +2828,6 @@ static void node_idle_scan_walker(const void *node, ndpi_VISIT which, int depth, undetected_flows_deleted = 1; ndpi_flow_info_free_data(flow); - ndpi_thread_info[thread_id].workflow->stats.ndpi_flow_count--; /* adding to a queue (we can't delete it from the tree inline ) */ ndpi_thread_info[thread_id].idle_flows[ndpi_thread_info[thread_id].num_idle_flows++] = flow; |