aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2023-06-09 19:50:47 +0200
committerLuca Deri <deri@ntop.org>2023-06-09 19:50:47 +0200
commit63a2b359b9bbc481ef266407791f09fd12be8fc4 (patch)
tree9c6e7a55d04bcd6b3eae731df1b9f2888180dedc /example
parent7150b40c63e7393cddd94d40a2a4d0dd70f80cbc (diff)
Added vlan_id in ndpi_flow2json() prototype
Diffstat (limited to 'example')
-rw-r--r--example/reader_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index 1ede37ca2..a35eaf3c5 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1392,6 +1392,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
{
if (ndpi_flow2json(workflow->ndpi_struct, flow->ndpi_flow,
flow->ip_version, flow->protocol,
+ flow->vlan_id,
flow->src_ip, flow->dst_ip,
&flow->src_ip6, &flow->dst_ip6,
flow->src_port, flow->dst_port,