mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-01 04:19:36 -05:00
rpz: update ext_state in the iterator
This commit is contained in:
parent
126e114d6f
commit
b178cf34b6
2 changed files with 3 additions and 2 deletions
|
|
@ -2476,6 +2476,7 @@ processQueryTargets(struct module_qstate* qstate, struct iter_qstate* iq,
|
|||
if(forged_response != NULL) {
|
||||
iq->response = forged_response;
|
||||
next_state(iq, FINISHED_STATE);
|
||||
qstate->ext_state[id] = module_finished;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1448,7 +1448,7 @@ rpz_patch_nodata(struct rpz* r, struct module_qstate* ms)
|
|||
0, //an
|
||||
0, //ns
|
||||
0, //ar
|
||||
1, //total
|
||||
0, //total
|
||||
sec_status_secure);
|
||||
return msg;
|
||||
}
|
||||
|
|
@ -1468,7 +1468,7 @@ rpz_patch_nxdomain(struct rpz* r, struct module_qstate* ms)
|
|||
0, //an
|
||||
0, //ns
|
||||
0, //ar
|
||||
1, //total
|
||||
0, //total
|
||||
sec_status_secure);
|
||||
return msg;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue