diff options
-rw-r--r-- | example/ndpiReader.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 4ffce62b8..7f0ebda23 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1105,7 +1105,7 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa return; } - if(csv_fp) { + if(csv_fp || (verbose > 1)) { #if 1 fprintf(out, "\t%u", id); #else @@ -1133,8 +1133,6 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa fflush(out); fprintf(out, "[score: %.4f]", flow->entropy.score); } - - fprintf(out, "[proto: "); if(flow->tunnel_type != ndpi_no_tunnel) |