diff options
author | Luca Deri <deri@ntop.org> | 2017-02-13 01:29:25 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2017-02-13 01:29:25 +0100 |
commit | e2cfc96577be5fe97cd5ce63ac30b23cbfadce84 (patch) | |
tree | b5a0dda703c5e6b5407d81e542b2d46b179578f7 /example/ndpiReader.c | |
parent | b16769ddbe0f20000b52fa86b7a1d6a966705c28 (diff) |
Improvements for exporting info in MDNS and UBNTAC2 protocols
Added test pcap file for UBNTAC2
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 4bf786aa8..72b495912 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -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); |