aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-09-17 23:24:02 +0200
committerLuca Deri <deri@ntop.org>2020-09-17 23:24:02 +0200
commitd81bc1add631009eec2b6cb87e42720db4f17af3 (patch)
treec401ee25e5ee4f484e281b6d3e43ff41d77170bb /example/reader_util.c
parent753b5dde16bae60299ca8e31afb4f519b13629c1 (diff)
Reworked MDNS dissector that is not based on the DNS dissector
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index 8a0c3b97a..d1850902d 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1075,7 +1075,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
}
/* MDNS */
else if(is_ndpi_proto(flow, NDPI_PROTOCOL_MDNS)) {
- snprintf(flow->info, sizeof(flow->info), "%s", flow->ndpi_flow->protos.mdns.answer);
+ snprintf(flow->info, sizeof(flow->info), "%s", flow->ndpi_flow->host_server_name);
}
/* UBNTAC2 */
else if(is_ndpi_proto(flow, NDPI_PROTOCOL_UBNTAC2)) {