From 1d4e27c4739f74ccef19fde7e6008d725ea93a69 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Fri, 5 Aug 2022 15:15:45 +0200 Subject: Further simplification of `ndpi_process_extra_packet()` (#1698) See 95e16872. After c0732eda, we can safely remove the protocol list from `ndpi_process_extra_packet()`. The field `flow->check_extra_packets` is redundant; remove it. --- src/lib/protocols/http.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib/protocols/http.c') diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index a403118f2..cf3e364be 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -369,8 +369,6 @@ static void ndpi_int_http_add_connection(struct ndpi_detection_module_struct *nd master_protocol, NDPI_CONFIDENCE_DPI); - /* This is necessary to inform the core to call this dissector again */ - flow->check_extra_packets = 1; flow->max_extra_packets_to_check = 8; flow->extra_packets_func = ndpi_search_http_tcp_again; flow->http_detected = 1; -- cgit v1.2.3