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:
@@ -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)
|
||||
{
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user