diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-06-20 14:27:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 14:27:13 +0200 |
commit | b2b61011ae888c0d61e623797c24df869187d1d9 (patch) | |
tree | 89a50634ac6fbeb074df9620e79a6356b778e23f /src | |
parent | ab09b8ce2e72c562ad1bfc2ec2cecca9c23fb2a8 (diff) |
Fix compilation and sync unit tests results (#1606)
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index cb7e93d26..bcb069520 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -5123,7 +5123,7 @@ void ndpi_connection_tracking(struct ndpi_detection_module_struct *ndpi_str, else if(flow->packet_direction_counter[1] == 0) ndpi_set_risk(ndpi_str, flow, NDPI_UNIDIRECTIONAL_TRAFFIC, "No server to client traffic"); else { - flow->risk &= ~(1UL << NDPI_UNIDIRECTIONAL_TRAFFIC); /* Clear bit */ + flow->risk &= ~(1ULL << NDPI_UNIDIRECTIONAL_TRAFFIC); /* Clear bit */ } } |