num_extra_packets_checked check can be 0 for some protocols and therefor requires lesser-or-equal condition for max_extra_packets_to_check

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2020-08-13 10:32:31 +02:00
parent 4ead6d6594
commit aa856735c0
+1 -1
View File
@@ -847,7 +847,7 @@ static void ndpi_process_packet(uint8_t * const args,
}
}
if (flow_to_process->ndpi_flow->num_extra_packets_checked <
if (flow_to_process->ndpi_flow->num_extra_packets_checked <=
flow_to_process->ndpi_flow->max_extra_packets_to_check)
{
/*