diff options
author | Luca Deri <deri@ntop.org> | 2022-12-05 21:27:30 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2022-12-05 21:27:30 +0100 |
commit | e0afc16aa2ae78c39b7b51c73840f79ba1723c9c (patch) | |
tree | 58cb02776a9e8f069910fe1cddd8308496e6cce6 /example/reader_util.c | |
parent | c882120afd76255d6511f9b43b9776f8e0a9044f (diff) |
Exported HTTP server in metadata
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index 8c43f24ef..f3d7f73ff 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1214,6 +1214,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl ndpi_snprintf(flow->http.url, sizeof(flow->http.url), "%s", flow->ndpi_flow->http.url); flow->http.response_status_code = flow->ndpi_flow->http.response_status_code; ndpi_snprintf(flow->http.content_type, sizeof(flow->http.content_type), "%s", flow->ndpi_flow->http.content_type ? flow->ndpi_flow->http.content_type : ""); + ndpi_snprintf(flow->http.server, sizeof(flow->http.server), "%s", flow->ndpi_flow->http.server ? flow->ndpi_flow->http.server : ""); ndpi_snprintf(flow->http.request_content_type, sizeof(flow->http.request_content_type), "%s", flow->ndpi_flow->http.request_content_type ? flow->ndpi_flow->http.request_content_type : ""); } } |