diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-07 09:44:59 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-07 09:45:52 +0100 |
commit | c0a6838a1b8a3ca2c73af04b8829d6736521cba1 (patch) | |
tree | 076148fca0a229738510bd023a3271127963383f /src/gns/gnunet-service-gns.c | |
parent | e8533c8a41e3fb29e51200d643382c8d5f882e5e (diff) | |
download | gnunet-c0a6838a1b8a3ca2c73af04b8829d6736521cba1.tar.gz gnunet-c0a6838a1b8a3ca2c73af04b8829d6736521cba1.zip |
allow GNS clients to control recursion depth limit
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r-- | src/gns/gnunet-service-gns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c index 99cdbfe4e..8c5b2d6c4 100644 --- a/src/gns/gnunet-service-gns.c +++ b/src/gns/gnunet-service-gns.c | |||
@@ -463,6 +463,7 @@ handle_lookup (void *cls, | |||
463 | name, | 463 | name, |
464 | (enum GNUNET_GNS_LocalOptions) ntohs ( | 464 | (enum GNUNET_GNS_LocalOptions) ntohs ( |
465 | sh_msg->options), | 465 | sh_msg->options), |
466 | ntohs (sh_msg->recursion_depth_limit), | ||
466 | &send_lookup_response, clh); | 467 | &send_lookup_response, clh); |
467 | GNUNET_STATISTICS_update (statistics, | 468 | GNUNET_STATISTICS_update (statistics, |
468 | "Lookup attempts", | 469 | "Lookup attempts", |