From d66aa49787cea811a8fcb585b939ce3ca5c6852e Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Sun, 17 Jul 2022 12:49:18 +0200 Subject: DTLS: fix exclusion of DTLS protocol Add an helper to exclude a generic protocol --- src/lib/protocols/mining.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/protocols/mining.c') diff --git a/src/lib/protocols/mining.c b/src/lib/protocols/mining.c index c12203adb..eb5e651d9 100644 --- a/src/lib/protocols/mining.c +++ b/src/lib/protocols/mining.c @@ -67,7 +67,7 @@ static void ndpi_search_mining_udp(struct ndpi_detection_module_struct *ndpi_str } } - ndpi_exclude_protocol(ndpi_struct, flow, NDPI_PROTOCOL_MINING, __FILE__, __FUNCTION__, __LINE__); + NDPI_EXCLUDE_PROTO(ndpi_struct, flow); } /* ************************************************************************** */ @@ -159,7 +159,7 @@ static void ndpi_search_mining_tcp(struct ndpi_detection_module_struct *ndpi_str } } - ndpi_exclude_protocol(ndpi_struct, flow, NDPI_PROTOCOL_MINING, __FILE__, __FUNCTION__, __LINE__); + NDPI_EXCLUDE_PROTO(ndpi_struct, flow); } /* ************************************************************************** */ -- cgit v1.2.3