Skip to content

Commit

Permalink
ndpi struct update
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Jul 31, 2024
1 parent adef349 commit f7eff5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions userland/examples_ft/ftflow.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,10 @@ void processFlow(pfring_ft_flow *flow, void *user){
#ifdef PRINT_NDPI_INFO
if (enable_l7_extra) {
struct ndpi_flow_struct *ndpi_flow = pfring_ft_flow_get_ndpi_handle(flow);
if (ndpi_flow->protos.tls_quic_stun.tls_quic.ja3_server[0] != '\0')
printf(", ja3s: '%s'", ndpi_flow->protos.tls_quic_stun.tls_quic.ja3_server);
if (ndpi_flow->protos.tls_quic_stun.tls_quic.ja3_client[0] != '\0')
printf(", ja3c: '%s'", ndpi_flow->protos.tls_quic_stun.tls_quic.ja3_client);
if (ndpi_flow->protos.tls_quic.ja3_server[0])
printf(", ja3s: '%s'", ndpi_flow->protos.tls_quic.ja3_server);
if (ndpi_flow->protos.tls_quic.ja3_client[0])
printf(", ja3c: '%s'", ndpi_flow->protos.tls_quic.ja3_client);
}
#endif
break;
Expand Down

0 comments on commit f7eff5f

Please sign in to comment.