Fix compilation and sync unit tests results (#1606)

This commit is contained in:
Ivan Nardi
2022-06-20 14:27:13 +02:00
committed by GitHub
parent ab09b8ce2e
commit b2b61011ae
3 changed files with 52 additions and 52 deletions
+1 -1
View File
@@ -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 */
}
}