mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-23 18:24:58 +02:00
A typo and a reorder (without impact)
This commit is contained in:
+1
-1
@@ -303,7 +303,7 @@ worker_err_ratelimit(struct worker* worker, int err)
|
||||
* Structure holding the result of the worker_check_request function.
|
||||
* Based on configuration it could be called up to four times; ideally should
|
||||
* be called once.
|
||||
* When value is a positive number, it countains the error to return.
|
||||
* When value is a positive number, it contains the error to return.
|
||||
* Otherwise DROP_REQUEST (-1) is returned, or RESPONSE_MESSAGE (-2) in
|
||||
* case the qr bit was set. Value is set to REQUEST_OK (0) if all is good.
|
||||
*/
|
||||
|
||||
+4
-2
@@ -1723,6 +1723,10 @@ void mesh_query_done(struct mesh_state* mstate)
|
||||
if(err) { log_err("%s", err); }
|
||||
}
|
||||
}
|
||||
|
||||
if(mstate->reply_list && mstate->s.env->cfg->dns_error_reporting)
|
||||
dns_error_reporting(&mstate->s, rep);
|
||||
|
||||
if(mstate->reply_list && rep) {
|
||||
uint8_t data[8192];
|
||||
struct sldns_buffer dest;
|
||||
@@ -1743,8 +1747,6 @@ void mesh_query_done(struct mesh_state* mstate)
|
||||
}
|
||||
|
||||
}
|
||||
if(mstate->reply_list && mstate->s.env->cfg->dns_error_reporting)
|
||||
dns_error_reporting(&mstate->s, rep);
|
||||
|
||||
for(r = mstate->reply_list; r; r = r->next) {
|
||||
struct timeval old;
|
||||
|
||||
Reference in New Issue
Block a user