diff options
Diffstat (limited to 'src/lib/protocols/netflow.c')
-rw-r--r-- | src/lib/protocols/netflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/netflow.c b/src/lib/protocols/netflow.c index 8f40144b9..d91993854 100644 --- a/src/lib/protocols/netflow.c +++ b/src/lib/protocols/netflow.c @@ -172,7 +172,7 @@ void ndpi_search_netflow(struct ndpi_detection_module_struct *ndpi_struct, struc now = now_tv.tv_sec; if(((version == 1) && (when == 0)) - || ((when >= 946684800 /* 1/1/2000 */) && (when <= now))) { + || ((when >= 946684800 /* 1/1/2000 */) && (when <= (u_int32_t)now))) { NDPI_LOG_INFO(ndpi_struct, "found netflow\n"); ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_NETFLOW, NDPI_PROTOCOL_UNKNOWN); return; |