diff options
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index 9c2622ca0..67d31d36a 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1418,6 +1418,11 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl if(flow->ndpi_flow->protos.dns.geolocation_iata_code[0] != '\0') strcpy(flow->dns.geolocation_iata_code, flow->ndpi_flow->protos.dns.geolocation_iata_code); + if(flow->ndpi_flow->protos.dns.ptr_domain_name[0] != '\0') + strcpy(flow->dns.ptr_domain_name, flow->ndpi_flow->protos.dns.ptr_domain_name); + + flow->dns.transaction_id = flow->ndpi_flow->protos.dns.transaction_id; + #if 0 if(0) { u_int8_t i; |