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 00e1bf9d8..9f6c0fec0 100644
--- a/src/lib/protocols/ldap.c
+++ b/src/lib/protocols/ldap.c
@@ -37,7 +37,7 @@ static void ndpi_int_ldap_add_connection(struct ndpi_detection_module_struct *nd
void ndpi_search_ldap(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow)
{
- struct ndpi_packet_struct *packet = &flow->packet;
+ struct ndpi_packet_struct *packet = &ndpi_struct->packet;
NDPI_LOG_DBG(ndpi_struct, "search ldap\n");