From 44a9d65f242533c0f8855c2242cc2e2a4d3095dd Mon Sep 17 00:00:00 2001 From: Simone Mainardi Date: Wed, 23 Oct 2019 14:51:25 +0200 Subject: [PATCH] Compilation fix --- src/NetworkInterface.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/NetworkInterface.cpp b/src/NetworkInterface.cpp index 1c927c6b1d..d038a47ba2 100644 --- a/src/NetworkInterface.cpp +++ b/src/NetworkInterface.cpp @@ -5412,7 +5412,11 @@ void NetworkInterface::lua(lua_State *vm) { void NetworkInterface::lua_hash_tables_stats(lua_State *vm) { GenericHash *gh[] = {flows_hash, hosts_hash, macs_hash, vlans_hash, ases_hash, countries_hash, - arp_hash_matrix, aggregated_flows_hash}; + arp_hash_matrix +#ifdef NTOPNG_PRO + ,aggregated_flows_hash +#endif + }; lua_newtable(vm);