aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/bjnp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/bjnp.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/bjnp.c b/src/lib/protocols/bjnp.c
index 31a404df6..e7e503989 100644
--- a/src/lib/protocols/bjnp.c
+++ b/src/lib/protocols/bjnp.c
@@ -14,7 +14,7 @@ static void ndpi_int_bjnp_add_connection(struct ndpi_detection_module_struct *nd
static void ndpi_check_bjnp(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;
u_int32_t payload_len = packet->payload_packet_len;
if(packet->udp != NULL) {