mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-20 09:03:24 +00:00
Added probe ipv4 to hosts with view (#5156)
This commit is contained in:
parent
3ce039ea6f
commit
dfd4822dbb
1 changed files with 2 additions and 0 deletions
|
|
@ -499,6 +499,7 @@ void ViewInterface::viewed_flows_walker(Flow *f, const struct timeval *tv) {
|
|||
network_stats = cli_host->getNetworkStats(cli_host->get_local_network_id());
|
||||
if(network_stats) network_stats->incNumFlows(f->get_last_seen(), true);
|
||||
if(f->getViewInterfaceFlowStats()) f->getViewInterfaceFlowStats()->setClientHost(cli_host);
|
||||
cli_host->setLastDeviceIp(f->getFlowDeviceIp());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -508,6 +509,7 @@ void ViewInterface::viewed_flows_walker(Flow *f, const struct timeval *tv) {
|
|||
network_stats = srv_host->getNetworkStats(srv_host->get_local_network_id());
|
||||
if(network_stats) network_stats->incNumFlows(f->get_last_seen(), false);
|
||||
if(f->getViewInterfaceFlowStats()) f->getViewInterfaceFlowStats()->setServerHost(srv_host);
|
||||
srv_host->setLastDeviceIp(f->getFlowDeviceIp());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue