Added ndpi_quick_16_byte_hash

Warning fix
This commit is contained in:
Luca 2020-10-05 08:26:24 +02:00
parent 32e4922c5a
commit 05d93790e4
3 changed files with 32 additions and 1 deletions

View file

@ -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)) {
char *name = flow->ndpi_flow->host_server_name; /* Trick to avoid warning(s) */
char *name = (char*)flow->ndpi_flow->host_server_name; /* Trick to avoid warning(s) */
snprintf(flow->info, sizeof(flow->info), "%s", name);
}
/* UBNTAC2 */