aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/cpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/cpha.c')
-rw-r--r--src/lib/protocols/cpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/cpha.c b/src/lib/protocols/cpha.c
index edd472a83..099285312 100644
--- a/src/lib/protocols/cpha.c
+++ b/src/lib/protocols/cpha.c
@@ -31,7 +31,7 @@
void ndpi_search_cpha(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;
const u_int16_t cpha_port = htons(8116);
NDPI_LOG_DBG(ndpi_struct, "search CPHA\n");