Skip to content

Commit

Permalink
Fix to avoid counting probes twice using disaggregation
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaderi committed Sep 9, 2024
1 parent b8d38fd commit 7c17562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ParserInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ bool ParserInterface::processFlow(ParsedFlow *zflow) {
zflow->vlan_id = rand() % SIMULATE_VLANS_MAX_VALUE;

#ifdef NTOPNG_PRO
if(unique_source_id != 0) {
if((unique_source_id != 0) && (!isSubInterface())) {
if (!flow_interfaces_stats->checkExporters(unique_source_id,
zflow->inIndex, zflow->outIndex,
zflow->exporter_device_ip, zflow->nprobe_ip)) {
Expand Down

0 comments on commit 7c17562

Please sign in to comment.