aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiSimpleIntegration.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-09-03 12:44:22 +0200
committerGitHub <noreply@github.com>2024-09-03 12:44:22 +0200
commiteb133b8fa5525330fc4e045b2184d5a5ac0197eb (patch)
tree4dde665f441cf225d147fb5056a29d6584916598 /example/ndpiSimpleIntegration.c
parentf2da1698953cca5797003935bb90d69d4fbc3dda (diff)
TLS: better state about handshake (#2534)
Keep track if we received CH or/and SH messsages: usefull with unidirectional flows
Diffstat (limited to 'example/ndpiSimpleIntegration.c')
-rw-r--r--example/ndpiSimpleIntegration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiSimpleIntegration.c b/example/ndpiSimpleIntegration.c
index dca3cdd29..e51ceba3f 100644
--- a/example/ndpiSimpleIntegration.c
+++ b/example/ndpiSimpleIntegration.c
@@ -952,7 +952,7 @@ static void ndpi_process_packet(uint8_t * const args,
flow_to_process->detected_l7_protocol.proto.app_protocol == NDPI_PROTOCOL_TLS)
{
if (flow_to_process->tls_client_hello_seen == 0 &&
- flow_to_process->ndpi_flow->protos.tls_quic.hello_processed != 0)
+ flow_to_process->ndpi_flow->protos.tls_quic.client_hello_processed != 0)
{
uint8_t unknown_tls_version = 0;
char buf_ver[16];