From d81bc1add631009eec2b6cb87e42720db4f17af3 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 17 Sep 2020 23:24:02 +0200 Subject: Reworked MDNS dissector that is not based on the DNS dissector --- example/reader_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/reader_util.c') 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)) { -- cgit v1.2.3