aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_define.h.in2
-rw-r--r--src/lib/protocols/dns.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/include/ndpi_define.h.in b/src/include/ndpi_define.h.in
index a60745763..02fdb521d 100644
--- a/src/include/ndpi_define.h.in
+++ b/src/include/ndpi_define.h.in
@@ -222,7 +222,7 @@ static inline uint64_t get_u_int64_t(const uint8_t* X, int O)
#define NDPI_MINOR @NDPI_MINOR@
#define NDPI_PATCH @NDPI_PATCH@
-#define NDPI_MAX_DNS_REQUESTS 16
+#define NDPI_MAX_DNS_REQUESTS 48
#define NDPI_MIN_NUM_STUN_DETECTION 8
/* IMPORTANT: order according to its severity */
diff --git a/src/lib/protocols/dns.c b/src/lib/protocols/dns.c
index ec513287c..54f3ec2f7 100644
--- a/src/lib/protocols/dns.c
+++ b/src/lib/protocols/dns.c
@@ -38,8 +38,6 @@
#define PKT_LEN_ALERT 512
-#define NDPI_MAX_DNS_REQUESTS 48
-
static void search_dns(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow);