mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-20 09:03:24 +00:00
Fixes maps upates with view interfaces
This commit is contained in:
parent
1f43ed6a6b
commit
2e0bb620c7
2 changed files with 8 additions and 13 deletions
|
|
@ -483,15 +483,6 @@ void ViewInterface::viewed_flows_walker(Flow *f, const struct timeval *tv) {
|
|||
findFlowHosts(f->get_vlan_id(), f->get_observation_point_id(),
|
||||
NULL /* no src mac yet */, (IpAddress*)cli_ip, &cli_host,
|
||||
NULL /* no dst mac yet */, (IpAddress*)srv_ip, &srv_host);
|
||||
|
||||
#if defined(NTOPNG_PRO) && !defined(HAVE_NEDGE)
|
||||
/*
|
||||
For view interfaces, service and periodicity maps need to be updated there,
|
||||
only the first time a flow is seen.
|
||||
*/
|
||||
updateFlowPeriodicity(f);
|
||||
updateServiceMap(f);
|
||||
#endif
|
||||
} else {
|
||||
/* The unsafe pointers can be used here as ViewInterface::viewed_flows_walker is
|
||||
* called synchronously with the ViewInterface purgeIdle. This also saves some
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue