Cleaned up syslog collector code

Fixed syslog-collected flow time
This commit is contained in:
Luca Deri 2019-04-15 21:48:23 +02:00
parent a10c6483a2
commit c520daac33
9 changed files with 165 additions and 168 deletions

View file

@ -423,7 +423,7 @@ class NetworkInterface : public Checkpointable {
const u_char *packet,
u_int16_t *ndpiProtocol,
Host **srcHost, Host **dstHost, Flow **flow);
void processFlow(Parsed_Flow *zflow);
void processFlow(Parsed_Flow *zflow, bool zmq_flow);
void processInterfaceStats(sFlowInterfaceStats *stats);
void getnDPIStats(nDPIStats *stats, AddressTree *allowed_hosts, const char *host_ip, u_int16_t vlan_id);
void periodicStatsUpdate();