aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/ldap.c')
-rw-r--r--src/lib/protocols/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/ldap.c b/src/lib/protocols/ldap.c
index 497e2b04d..e06c8b3e6 100644
--- a/src/lib/protocols/ldap.c
+++ b/src/lib/protocols/ldap.c
@@ -32,7 +32,7 @@
static void ndpi_int_ldap_add_connection(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow)
{
- ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_LDAP/* , NDPI_REAL_PROTOCOL */);
+ ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_LDAP);
}
void ndpi_search_ldap(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow)