aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-01-10 22:21:16 +0100
committerLuca Deri <deri@ntop.org>2020-01-10 22:21:16 +0100
commit5571ce114d2837a7a700acd98af3efdf4adbed8e (patch)
tree096933e4c4fbd5ccd3e4c49a37192f31a1e0c1e8 /example/ndpiReader.c
parenta3e06da2a81ab761a2aaf331c8afe165b3557556 (diff)
Added flow extra info field
Updated tests/results
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index ccd154870..a2d9885bb 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -1176,6 +1176,7 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa
if(flow->host_server_name[0] != '\0') fprintf(out, "[Host: %s]", flow->host_server_name);
if(flow->info[0] != '\0') fprintf(out, "[%s]", flow->info);
+ if(flow->flow_extra_info[0] != '\0') fprintf(out, "[%s]", flow->flow_extra_info);
if((flow->src2dst_packets+flow->dst2src_packets) > 5) {
if(flow->iat_c_to_s && flow->iat_s_to_c) {