aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2018-05-28 18:18:19 +0200
committerLuca Deri <deri@ntop.org>2018-05-28 18:18:19 +0200
commit326a2fb7ed8afba6aa42dda65c4c135d0cbae2ff (patch)
tree66a7d6608f902d5d58b1ad7428be593d321bcc92 /example/ndpi_util.c
parenteef175e57957f89b73a018b0626767b0e06f89ff (diff)
Fix for https://github.com/ntop/nDPI/issues/572
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r--example/ndpi_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/ndpi_util.c b/example/ndpi_util.c
index 52cbc6f9b..977a246ec 100644
--- a/example/ndpi_util.c
+++ b/example/ndpi_util.c
@@ -561,9 +561,9 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
else if((flow->detected_protocol.app_protocol == NDPI_PROTOCOL_SSL)
|| (flow->detected_protocol.master_protocol == NDPI_PROTOCOL_SSL)) {
snprintf(flow->ssh_ssl.client_info, sizeof(flow->ssh_ssl.client_info), "%s",
- flow->ndpi_flow->protos.ssl.client_certificate);
+ flow->ndpi_flow->protos.stun_ssl.ssl.client_certificate);
snprintf(flow->ssh_ssl.server_info, sizeof(flow->ssh_ssl.server_info), "%s",
- flow->ndpi_flow->protos.ssl.server_certificate);
+ flow->ndpi_flow->protos.stun_ssl.ssl.server_certificate);
}
}