mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-19 07:43:01 +00:00
Partial fix (community code is now clean) for #2533
Reworked inteface disaggregation Moved to attic some unused classes Added ability to disaggregate also for Probe IP + Ingress Interface
This commit is contained in:
parent
0113b367c9
commit
75efc0ec0c
16 changed files with 95 additions and 177 deletions
|
|
@ -296,14 +296,10 @@ u_int8_t ZMQParserInterface::parseEvent(const char * const payload, int payload_
|
|||
/* Process Flow */
|
||||
setRemoteStats(&zrs);
|
||||
|
||||
if(flowHashing) {
|
||||
FlowHashing *current, *tmp;
|
||||
ZMQParserInterface *current_iface;
|
||||
|
||||
HASH_ITER(hh, flowHashing, current, tmp) {
|
||||
if((current_iface = dynamic_cast<ZMQParserInterface*>(current->iface)))
|
||||
current_iface->setRemoteStats(&zrs);
|
||||
}
|
||||
for(std::map<u_int64_t, NetworkInterface*>::iterator it = flowHashing.begin(); it != flowHashing.end(); ++it) {
|
||||
ZMQParserInterface *z = (ZMQParserInterface*)it->second;
|
||||
|
||||
z->setRemoteStats(&zrs);
|
||||
}
|
||||
|
||||
/* Dispose memory */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue