From eed47acfc8532486a830404268def82cb0794f77 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Sun, 3 Jul 2022 18:51:16 +0200 Subject: Skype_Teams, Mining, SnapchatCall: fix flow category (#1624) --- src/lib/protocols/skype.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib/protocols/skype.c') diff --git a/src/lib/protocols/skype.c b/src/lib/protocols/skype.c index 8fb4b195b..6fece0e63 100644 --- a/src/lib/protocols/skype.c +++ b/src/lib/protocols/skype.c @@ -54,7 +54,14 @@ static int ndpi_check_skype_udp_again(struct ndpi_detection_module_struct *ndpi_ } if (detected) { + ndpi_protocol proto; + ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_SKYPE_TEAMS, NDPI_PROTOCOL_UNKNOWN, NDPI_CONFIDENCE_DPI); + /* In "extra_eval" data path, if we change the classification, we need to update the category, too */ + proto.master_protocol = NDPI_PROTOCOL_UNKNOWN; + proto.app_protocol = NDPI_PROTOCOL_SKYPE_TEAMS; + proto.category = NDPI_PROTOCOL_CATEGORY_UNSPECIFIED; + ndpi_fill_protocol_category(ndpi_struct, flow, &proto); flow->extra_packets_func = NULL; /* Stop checking extra packets */ -- cgit v1.2.3