From cc5bb700bc4e53c0fae21e75e03e65d0401fca03 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Wed, 24 Jul 2019 11:31:09 +0200 Subject: [PATCH] Compilation fix --- src/NetworkInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 } }