aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index f3daeaad6..be85bf0cc 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -1769,6 +1769,9 @@ static void printFlow(u_int32_t id, struct ndpi_flow_info *flow, u_int16_t threa
if(flow->http.user_agent[0] != '\0')
fprintf(out, "[User-Agent: %s]", flow->http.user_agent);
+ if(flow->http.filename[0] != '\0')
+ fprintf(out, "[Filename: %s]", flow->http.filename);
+
if(flow->risk) {
u_int i;
u_int16_t cli_score, srv_score;