diff --git a/src/NetworkInterface.cpp b/src/NetworkInterface.cpp index cabc7590c4..7e701437da 100644 --- a/src/NetworkInterface.cpp +++ b/src/NetworkInterface.cpp @@ -399,6 +399,7 @@ void NetworkInterface::aggregatePartialFlow(const struct timeval *tv, Flow *flow } } +#ifdef NTOPNG_PRO if(aggregatedFlow) { aggregatedFlow->sumFlowStats(flow, /* lastFlowAggregation will be decremented by one after the current periodic @@ -421,6 +422,7 @@ void NetworkInterface::aggregatePartialFlow(const struct timeval *tv, Flow *flow aggregated_flows_hash->getCurrentSize()); #endif } +#endif } }