Fix crash due to recent code changes when using hyperscan and mining_hosts.

Signed-off-by: Ravi Kerur <ravi.kerur@viasat.com>
This commit is contained in:
Ravi Kerur
2019-10-02 09:32:39 -07:00
parent 6a22bee2ca
commit 77edf1f680
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -679,7 +679,7 @@ ndpi_timeval_to_microseconds(struct timeval ts)
}
void
ndpi_log_timestamp(char *log_ts, u_int log_ts_len)
ndpi_log_timestamp(char *log_ts, uint32_t log_ts_len)
{
struct timeval tv;
time_t nowtime;