Improvements for exporting info in MDNS and UBNTAC2 protocols

Added test pcap file for UBNTAC2
This commit is contained in:
Luca Deri
2017-02-13 01:29:25 +01:00
parent b16769ddbe
commit e2cfc96577
9 changed files with 72 additions and 13 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ static void printFlow(u_int16_t thread_id, struct ndpi_flow_info *flow) {
flow->packets, (long long unsigned int) flow->bytes);
if(flow->host_server_name[0] != '\0') fprintf(out, "[Host: %s]", flow->host_server_name);
if(flow->info[0] != '\0') fprintf(out, "[%s]", flow->info);
if(flow->ssh_ssl.client_info[0] != '\0') fprintf(out, "[client: %s]", flow->ssh_ssl.client_info);
if(flow->ssh_ssl.server_info[0] != '\0') fprintf(out, "[server: %s]", flow->ssh_ssl.server_info);