Implements lua class local_network_pools.lua to handle network pools

This commit is contained in:
Simone Mainardi 2020-07-08 14:42:48 +02:00
parent ad0bf0f74b
commit d05c191cc7
7 changed files with 128 additions and 10 deletions

View file

@ -24,7 +24,7 @@
/* *************************************** */
NetworkStats::NetworkStats(NetworkInterface *iface, u_int8_t _network_id) : AlertableEntity(iface, alert_entity_network), GenericTrafficElement() {
char *netname;
const char *netname;
network_id = _network_id;
numHosts = 0;
syn_recvd_last_min = synack_sent_last_min = 0;