aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/spotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/spotify.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/spotify.c b/src/lib/protocols/spotify.c
index b0a077251..6e5efb36e 100644
--- a/src/lib/protocols/spotify.c
+++ b/src/lib/protocols/spotify.c
@@ -38,7 +38,7 @@ static void ndpi_int_spotify_add_connection(struct ndpi_detection_module_struct
static void ndpi_check_spotify(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_int8_t *packet_payload = packet->payload;
u_int32_t payload_len = packet->payload_packet_len;