mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-02 00:40:17 +00:00
Added ndpi_quick_16_byte_hash
Warning fix
This commit is contained in:
parent
32e4922c5a
commit
05d93790e4
3 changed files with 32 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue