From 8a6272c1b16598731c894c8e3c7bd790b2e353d9 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Fri, 21 Dec 2018 08:32:09 +0100 Subject: [PATCH] Compilation fix --- src/NetworkInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NetworkInterface.cpp b/src/NetworkInterface.cpp index 833c4940d9d5..da4f277ecfac 100644 --- a/src/NetworkInterface.cpp +++ b/src/NetworkInterface.cpp @@ -5341,7 +5341,9 @@ void NetworkInterface::runShutdownTasks() { if (ntop->getPrefs()->flushFlowsOnShutdown()) { /* Setting all flows as "ready to purge" (see isReadyToPurge) and dump them to the DB */ periodicStatsUpdate(); +#ifdef NTOPNG_PRO flushFlowDump(); +#endif } }