aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns_interceptor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gnunet-service-gns_interceptor.c')
-rw-r--r--src/gns/gnunet-service-gns_interceptor.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gns/gnunet-service-gns_interceptor.c b/src/gns/gnunet-service-gns_interceptor.c
index dd97782ae..9d6636e84 100644
--- a/src/gns/gnunet-service-gns_interceptor.c
+++ b/src/gns/gnunet-service-gns_interceptor.c
@@ -34,6 +34,12 @@
34 34
35 35
36/** 36/**
37 * How deep do we allow recursions to go before we abort?
38 */
39#define MAX_RECURSION 256
40
41
42/**
37 * Handle to a DNS intercepted 43 * Handle to a DNS intercepted
38 * reslution request 44 * reslution request
39 */ 45 */
@@ -347,6 +353,7 @@ handle_dns_request (void *cls,
347 p->queries[0].type, 353 p->queries[0].type,
348 p->queries[0].name, 354 p->queries[0].name,
349 GNUNET_NO, 355 GNUNET_NO,
356 MAX_RECURSION,
350 &reply_to_dns, ilh); 357 &reply_to_dns, ilh);
351 return; 358 return;
352 } 359 }