aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/ssh.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2025-03-26 09:50:33 +0100
committerGitHub <noreply@github.com>2025-03-26 09:50:33 +0100
commit00598c71b288a125e26b9bb0fc59f55701d0fca5 (patch)
tree9e33a80350201c90be1e4b20933427ff688c6c47 /src/lib/protocols/ssh.c
parent29eb89a88ff4ab3a5b19f102bf81461ed026a387 (diff)
Use the proper helper to exclude protocols (#2781)
Diffstat (limited to 'src/lib/protocols/ssh.c')
-rw-r--r--src/lib/protocols/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/ssh.c b/src/lib/protocols/ssh.c
index 899b153f1..8c6830727 100644
--- a/src/lib/protocols/ssh.c
+++ b/src/lib/protocols/ssh.c
@@ -530,7 +530,7 @@ static void ndpi_search_ssh_tcp(struct ndpi_detection_module_struct *ndpi_struct
#endif
NDPI_LOG_DBG(ndpi_struct, "excluding ssh at stage %d\n", flow->l4.tcp.ssh_stage);
- NDPI_ADD_PROTOCOL_TO_BITMASK(flow->excluded_protocol_bitmask, NDPI_PROTOCOL_SSH);
+ NDPI_EXCLUDE_PROTO(ndpi_struct, flow);
}
/* ************************************************************************ */