Fixed output format
This commit is contained in:
@@ -1105,7 +1105,7 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(csv_fp) {
|
if(csv_fp || (verbose > 1)) {
|
||||||
#if 1
|
#if 1
|
||||||
fprintf(out, "\t%u", id);
|
fprintf(out, "\t%u", id);
|
||||||
#else
|
#else
|
||||||
@@ -1134,8 +1134,6 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa
|
|||||||
fprintf(out, "[score: %.4f]", flow->entropy.score);
|
fprintf(out, "[score: %.4f]", flow->entropy.score);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fprintf(out, "[proto: ");
|
fprintf(out, "[proto: ");
|
||||||
if(flow->tunnel_type != ndpi_no_tunnel)
|
if(flow->tunnel_type != ndpi_no_tunnel)
|
||||||
fprintf(out, "%s:", ndpi_tunnel2str(flow->tunnel_type));
|
fprintf(out, "%s:", ndpi_tunnel2str(flow->tunnel_type));
|
||||||
|
|||||||
Reference in New Issue
Block a user