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
@@ -1434,7 +1434,7 @@ static struct ndpi_proto packet_processing(struct ndpi_workflow * workflow,
}
ndpi_data_add_value(flow->pktlen_s_to_c, rawsize);
flow->dst2src_packets++, flow->dst2src_bytes += rawsize, flow->dst2src_goodput_bytes += payload_len;
flow->risk &= ~(1UL << NDPI_UNIDIRECTIONAL_TRAFFIC); /* Clear bit */
flow->risk &= ~(1ULL << NDPI_UNIDIRECTIONAL_TRAFFIC); /* Clear bit */
memcpy(&flow->dst2src_last_pkt_time, &when, sizeof(when));
#ifdef DIRECTION_BINS