aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2025-05-26 15:08:53 +0200
committerGitHub <noreply@github.com>2025-05-26 15:08:53 +0200
commit8350cc68d40aaebb2a393abff1b9853b29752e40 (patch)
treebca3a4a8327cfbf05fd0a576ec0c46f050ffcfd3 /example/ndpiReader.c
parent0ccafc94f7d3a75289a9ff80447070b08df645c3 (diff)
BFCP: fix check on payload length and extract metadata (#2854)
We should be able to identified this protocol on the first packet, without keeping any state Close #2745
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index d26505062..a9b89c6ba 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -2088,6 +2088,11 @@ static void printFlow(u_int32_t id, struct ndpi_flow_info *flow, u_int16_t threa
fprintf(out, "[User-agent: %s]", flow->fast_cgi.user_agent);
}
break;
+
+ case INFO_BFCP:
+ fprintf(out, "[Conference Id: %d]", flow->bfcp.conference_id);
+ fprintf(out, "[User Id: %d]", flow->bfcp.user_id);
+ break;
}
if(flow->ssh_tls.advertised_alpns)