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/smb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/protocols/smb.c') diff --git a/src/lib/protocols/smb.c b/src/lib/protocols/smb.c index c84196343..2633fc9b7 100644 --- a/src/lib/protocols/smb.c +++ b/src/lib/protocols/smb.c @@ -63,8 +63,8 @@ void ndpi_search_smb_tcp(struct ndpi_detection_module_struct *ndpi_struct, struc } } - ndpi_exclude_protocol(ndpi_struct, flow, NDPI_PROTOCOL_SMBV1, __FILE__, __FUNCTION__, __LINE__); - ndpi_exclude_protocol(ndpi_struct, flow, NDPI_PROTOCOL_SMBV23, __FILE__, __FUNCTION__, __LINE__); + NDPI_EXCLUDE_PROTO_EXT(ndpi_struct, flow, NDPI_PROTOCOL_SMBV1); + NDPI_EXCLUDE_PROTO_EXT(ndpi_struct, flow, NDPI_PROTOCOL_SMBV23); } -- cgit v1.2.3