aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.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/reader_util.c
parenta3e06da2a81ab761a2aaf331c8afe165b3557556 (diff)
Added flow extra info field
Updated tests/results
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index b8fce9632..f8dd315d0 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -949,6 +949,9 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
snprintf(flow->host_server_name, sizeof(flow->host_server_name), "%s",
flow->ndpi_flow->host_server_name);
+ snprintf(flow->flow_extra_info, sizeof(flow->flow_extra_info), "%s",
+ flow->ndpi_flow->flow_extra_info);
+
if(is_ndpi_proto(flow, NDPI_PROTOCOL_DHCP)) {
snprintf(flow->dhcp_fingerprint, sizeof(flow->dhcp_fingerprint), "%s", flow->ndpi_flow->protos.dhcp.fingerprint);
} else if(is_ndpi_proto(flow, NDPI_PROTOCOL_BITTORRENT)) {