From 6fb469aa61b440872edf2008b7ebbf697b82cc10 Mon Sep 17 00:00:00 2001 From: Simone Mainardi Date: Tue, 29 Oct 2019 17:53:17 +0100 Subject: [PATCH] Minor cleanup --- include/NetworkInterface.h | 1 - src/NetworkInterface.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/include/NetworkInterface.h b/include/NetworkInterface.h index 0e9a1f1f14..074efb134b 100644 --- a/include/NetworkInterface.h +++ b/include/NetworkInterface.h @@ -161,7 +161,6 @@ class NetworkInterface : public AlertableEntity { TimeseriesExporter *tsExporter; TimeseriesRing *ts_ring; - time_t lastFlowAggregation; TcpFlowStats tcpFlowStats; TcpPacketStats tcpPacketStats; ThroughputStats bytes_thpt, pkts_thpt; diff --git a/src/NetworkInterface.cpp b/src/NetworkInterface.cpp index 3016c7f896..67b8cf8c93 100644 --- a/src/NetworkInterface.cpp +++ b/src/NetworkInterface.cpp @@ -6880,7 +6880,6 @@ bool NetworkInterface::initFlowDump(u_int8_t num_dump_interfaces) { ntop->getPrefs()->get_max_num_flows()); ntop->getPrefs()->enable_flow_aggregation(); - lastFlowAggregation = 0; } else aggregated_flows_hash = NULL; #endif