diff options
author | MrRadix <edo.ermini@gmail.com> | 2020-07-22 16:25:01 +0200 |
---|---|---|
committer | MrRadix <edo.ermini@gmail.com> | 2020-07-22 16:25:01 +0200 |
commit | 1c1be5a0d18b44f757f1907cf48c0d44018483f7 (patch) | |
tree | a7a94fb3fcf168ad9850a1c18c192a60472275f9 /example/ndpiReader.c | |
parent | a3ba9253ef3c3ca9fb45348e6dc019c6cf694e31 (diff) | |
parent | 3cd1ec5c9a165c8c53e49568b2da820222252986 (diff) |
Resolved conflicts on fetch
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index b8695f5c2..4f1767846 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -2513,7 +2513,12 @@ static void printFlowsStats() { ntohs(all_flows[i].flow->dst_port)); print_bin(out, NULL, &bins[i]); - printf("][score: %f]\n", ndpi_bin_similarity(¢roids[j], &bins[i], 0)); + printf("][score: %f]", ndpi_bin_similarity(¢roids[j], &bins[i], 0)); + + if(all_flows[i].flow->ssh_tls.client_requested_server_name[0] != '\0') + fprintf(out, "[%s]", all_flows[i].flow->ssh_tls.client_requested_server_name); + + printf("\n"); num_printed++; } |