Further simplification of ndpi_process_extra_packet() (#1698)
See95e16872. Afterc0732eda, we can safely remove the protocol list from `ndpi_process_extra_packet()`. The field `flow->check_extra_packets` is redundant; remove it.
This commit is contained in:
@@ -244,7 +244,6 @@ static void popInitExtraPacketProcessing(struct ndpi_flow_struct *flow) {
|
||||
printf("**** %s()\n", __FUNCTION__);
|
||||
#endif
|
||||
|
||||
flow->check_extra_packets = 1;
|
||||
/* At most 7 packets should almost always be enough */
|
||||
flow->max_extra_packets_to_check = 7;
|
||||
flow->extra_packets_func = ndpi_extra_search_mail_pop_tcp;
|
||||
|
||||
Reference in New Issue
Block a user