Reworked MDNS dissector that is not based on the DNS dissector

This commit is contained in:
Luca Deri
2020-09-17 23:24:02 +02:00
parent 753b5dde16
commit d81bc1add6
23 changed files with 151 additions and 248 deletions
+1 -1
View File
@@ -1172,7 +1172,7 @@ int ndpi_dpi2json(struct ndpi_detection_module_struct *ndpi_struct,
case NDPI_PROTOCOL_MDNS:
ndpi_serialize_start_of_block(serializer, "mdns");
ndpi_serialize_string_string(serializer, "answer", flow->protos.mdns.answer);
ndpi_serialize_string_string(serializer, "answer", (const char*)flow->host_server_name);
ndpi_serialize_end_of_block(serializer);
break;