aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/ayiya.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-06-06 11:29:03 +0200
committerLuca Deri <deri@ntop.org>2020-06-06 11:29:03 +0200
commit801c9481cb9c1b55382dc6e14dd0f9f573d3fea7 (patch)
tree629d74482946020394f1a3dfd95f8ee71798f31e /src/lib/protocols/ayiya.c
parent605d548d4a5f2c298a6f98e5135d4ac63886d89a (diff)
Removed some obsolete protocols (battlefield, oscar, pcanywhere, tvants)
Diffstat (limited to 'src/lib/protocols/ayiya.c')
-rw-r--r--src/lib/protocols/ayiya.c2
1 files changed, 1 insertions, 1 deletions
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");