Handle TCP DNS replies and add is_reply flag

This commit is contained in:
emanuele-f
2019-10-03 16:19:15 +02:00
parent 04a97fa72b
commit 37cb113c45
2 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -1172,7 +1172,7 @@ struct ndpi_flow_struct {
union {
/* the only fields useful for nDPI and ntopng */
struct {
u_int8_t num_queries, num_answers, reply_code;
u_int8_t num_queries, num_answers, reply_code, is_query;
u_int16_t query_type, query_class, rsp_type;
ndpi_ip_addr_t rsp_addr; /* The first address in a DNS response packet */
} dns;