diff options
author | Luca Deri <deri@ntop.org> | 2017-05-01 21:21:03 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2017-05-01 21:21:03 +0200 |
commit | aa6167bb421f5a2daed8c3665e4092cdc22bd304 (patch) | |
tree | 2bc39b32fd929b55e852f5c607e7efd693ee1524 /src/lib/protocols/oscar.c | |
parent | 205b82f6ba0018f2b7620a0558bfd78723fc2a2d (diff) | |
parent | a03a343723889c49c33c1011aac13ef61c36f7b7 (diff) |
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
Diffstat (limited to 'src/lib/protocols/oscar.c')
-rw-r--r-- | src/lib/protocols/oscar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/oscar.c b/src/lib/protocols/oscar.c index 869b36378..d6ca25cde 100644 --- a/src/lib/protocols/oscar.c +++ b/src/lib/protocols/oscar.c @@ -579,7 +579,7 @@ static void ndpi_search_oscar_tcp_connect(struct ndpi_detection_module_struct { /* request ID */ req_ID = get_u_int32_t(packet->payload, 12); - if((req_ID <= 4294967295)) + if((req_ID <= ((u_int32_t)-1))) { NDPI_LOG(NDPI_PROTOCOL_OSCAR, ndpi_struct, NDPI_LOG_DEBUG, "OSCAR Detected \n"); ndpi_int_oscar_add_connection(ndpi_struct, flow); |