diff options
author | Luca Deri <deri@ntop.org> | 2019-05-20 22:02:21 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-05-20 22:02:21 +0200 |
commit | 0d2f8f4498f3158be31582c04db0935746a45dd4 (patch) | |
tree | 8eb0b915a2e83c9393708f206b1990a3610a6e59 /example/ndpi_util.c | |
parent | 53e64df8e2470c1b5d397e3ab183091693f7daf7 (diff) |
Implements #705
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r-- | example/ndpi_util.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/example/ndpi_util.c b/example/ndpi_util.c index da7a87bdb..92d8dca80 100644 --- a/example/ndpi_util.c +++ b/example/ndpi_util.c @@ -572,6 +572,8 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl flow->ndpi_flow->protos.stun_ssl.ssl.ja3_client); snprintf(flow->ssh_ssl.ja3_server, sizeof(flow->ssh_ssl.ja3_server), "%s", flow->ndpi_flow->protos.stun_ssl.ssl.ja3_server); + flow->ssh_ssl.client_unsafe_cipher = flow->ndpi_flow->protos.stun_ssl.ssl.client_unsafe_cipher; + flow->ssh_ssl.server_unsafe_cipher = flow->ndpi_flow->protos.stun_ssl.ssl.server_unsafe_cipher; } } @@ -684,7 +686,7 @@ static struct ndpi_proto packet_processing(struct ndpi_workflow * workflow, /* New protocol detected or give up */ flow->detection_completed = 1; /* Check if we should keep checking extra packets */ - if(ndpi_flow->check_extra_packets) + if(ndpi_flow && ndpi_flow->check_extra_packets) flow->check_extra_packets = 1; if(flow->detected_protocol.app_protocol == NDPI_PROTOCOL_UNKNOWN) |