aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/smb.c
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2022-07-17 12:49:18 +0200
committerIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2022-07-20 19:16:18 +0200
commitd66aa49787cea811a8fcb585b939ce3ca5c6852e (patch)
tree73ec0b1c5bd812121930b11f776ba986c23d08b9 /src/lib/protocols/smb.c
parenta9204eb9365432d3ea26b4ca930dfb380b68b4ad (diff)
DTLS: fix exclusion of DTLS protocol
Add an helper to exclude a generic protocol
Diffstat (limited to 'src/lib/protocols/smb.c')
-rw-r--r--src/lib/protocols/smb.c4
1 files changed, 2 insertions, 2 deletions
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);
}