aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-08-27 10:45:33 +0200
committerLuca Deri <deri@ntop.org>2019-08-27 10:45:33 +0200
commit84aeee49bda71f71877ca114a1946a6d359be5d5 (patch)
tree5cc3835e5d2921411ec60bcd998597bd784a30f1 /example
parent6011790d79eb9f6ebb2a21972b13bcde347d80b5 (diff)
Disable debug code
Diffstat (limited to 'example')
-rw-r--r--example/ndpiReader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index da7240edd..3dd18d857 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -997,8 +997,10 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa
if(flow->info[0] != '\0') fprintf(out, "[%s]", flow->info);
+#if 0
if(flow->entropy.pktlen_c_to_s || flow->entropy.pktlen_s_to_c)
fprintf(out, "[pktlen entropy: %.2f / %.2f]", flow->entropy.pktlen_c_to_s, flow->entropy.pktlen_s_to_c);
+#endif
if(flow->ssh_tls.ssl_version != 0) fprintf(out, "[%s]", ndpi_ssl_version2str(flow->ssh_tls.ssl_version));
if(flow->ssh_tls.client_info[0] != '\0') fprintf(out, "[client: %s]", flow->ssh_tls.client_info);