diff options
Diffstat (limited to 'src/lib/protocols/dnscrypt.c')
-rw-r--r-- | src/lib/protocols/dnscrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/dnscrypt.c b/src/lib/protocols/dnscrypt.c index a5bbd0c0e..a51ed60f7 100644 --- a/src/lib/protocols/dnscrypt.c +++ b/src/lib/protocols/dnscrypt.c @@ -33,7 +33,7 @@ static void ndpi_int_dnscrypt_add_connection(struct ndpi_detection_module_struct void ndpi_search_dnscrypt(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; static char const * const dnscrypt_initial = "2\rdnscrypt"; NDPI_LOG_DBG(ndpi_struct, "search dnscrypt\n"); |