summaryrefslogtreecommitdiff
path: root/usr.sbin/unbound/iterator
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2015-02-17 10:04:00 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2015-02-17 10:04:00 +0000
commitfa3acff90314829eb8ecb0f6b382ccca07c8fbe4 (patch)
tree9cc3357801a3e54109f7ba59d7ceab41b5831d07 /usr.sbin/unbound/iterator
parent3fa2935c1725697e42d4cacfdcf78da8de95970e (diff)
merge conflicts
Diffstat (limited to 'usr.sbin/unbound/iterator')
-rw-r--r--usr.sbin/unbound/iterator/iterator.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/unbound/iterator/iterator.c b/usr.sbin/unbound/iterator/iterator.c
index 21ef397f1c9..2037cc8814f 100644
--- a/usr.sbin/unbound/iterator/iterator.c
+++ b/usr.sbin/unbound/iterator/iterator.c
@@ -1383,8 +1383,10 @@ query_for_targets(struct module_qstate* qstate, struct iter_qstate* iq,
return 0;
if(iq->depth > 0 && iq->target_count &&
iq->target_count[1] > MAX_TARGET_COUNT) {
- verbose(VERB_QUERY, "request has exceeded the maximum "
- "number of glue fetches %d", iq->target_count[1]);
+ char s[LDNS_MAX_DOMAINLEN+1];
+ dname_str(qstate->qinfo.qname, s);
+ verbose(VERB_QUERY, "request %s has exceeded the maximum "
+ "number of glue fetches %d", s, iq->target_count[1]);
return 0;
}
@@ -1581,8 +1583,10 @@ processLastResort(struct module_qstate* qstate, struct iter_qstate* iq,
}
if(iq->depth > 0 && iq->target_count &&
iq->target_count[1] > MAX_TARGET_COUNT) {
- verbose(VERB_QUERY, "request has exceeded the maximum "
- "number of glue fetches %d", iq->target_count[1]);
+ char s[LDNS_MAX_DOMAINLEN+1];
+ dname_str(qstate->qinfo.qname, s);
+ verbose(VERB_QUERY, "request %s has exceeded the maximum "
+ "number of glue fetches %d", s, iq->target_count[1]);
return error_response_cache(qstate, id, LDNS_RCODE_SERVFAIL);
}
/* mark cycle targets for parent-side lookups */