From 801c9481cb9c1b55382dc6e14dd0f9f573d3fea7 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 6 Jun 2020 11:29:03 +0200 Subject: Removed some obsolete protocols (battlefield, oscar, pcanywhere, tvants) --- src/lib/protocols/ayiya.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/protocols/ayiya.c') diff --git a/src/lib/protocols/ayiya.c b/src/lib/protocols/ayiya.c index b0ebc3749..b810da2d1 100644 --- a/src/lib/protocols/ayiya.c +++ b/src/lib/protocols/ayiya.c @@ -57,7 +57,7 @@ void ndpi_search_ayiya(struct ndpi_detection_module_struct *ndpi_struct, struct u_int32_t epoch = ntohl(a->epoch), now; u_int32_t fiveyears = 86400 * 365 * 5; - now = flow->packet.tick_timestamp; + now = flow->packet.current_time_ms; if((epoch >= (now - fiveyears)) && (epoch <= (now+86400 /* 1 day */))) { NDPI_LOG_INFO(ndpi_struct, "found AYIYA\n"); -- cgit v1.2.3