diff options
author | ysk <shaokunyang@163.com> | 2020-05-20 13:21:36 +0800 |
---|---|---|
committer | ysk <shaokunyang@163.com> | 2020-05-20 13:21:36 +0800 |
commit | cd65da69d349c119e48e2e0c899a1439743a1300 (patch) | |
tree | 9719a7f70f1bf2185301fdc31bcd9cbcbfebb68a /example/ndpiReader.c | |
parent | 068c1b1f22b65ec200a2f577ff93f8dbeecb7321 (diff) | |
parent | b7e666e465f138ae48ab81976726e67deed12701 (diff) |
Merge branch 'dev' of github.com:yskcg/nDPI into dev
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 990b0264e..15f5d6f9a 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1204,14 +1204,14 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa if(risk != NDPI_NO_RISK) NDPI_SET_BIT(flow->risk, risk); - fprintf(out, "[URL: %s[StatusCode: %u]", + fprintf(out, "[URL: %s][StatusCode: %u]", flow->http.url, flow->http.response_status_code); if(flow->http.content_type[0] != '\0') - fprintf(out, "[ContentType: %s]", flow->http.content_type); + fprintf(out, "[Content-Type: %s]", flow->http.content_type); if(flow->http.user_agent[0] != '\0') - fprintf(out, "[UserAgent: %s]", flow->http.user_agent); + fprintf(out, "[User-Agent: %s]", flow->http.user_agent); } if(flow->risk) { |